pub fn process_payload(
config: &mut impl RedStoneConfig,
payload_bytes: impl Into<Bytes>,
) -> ProcessorResultExpand description
The main processor of the RedStone payload.
§Arguments
config- Something that implementsRedStoneConfig. Provides environment and crypto operations.payload_bytes- Network-specific byte-list of the payload to be processed.
§Returns
- Returns a
ProcessorResultin case of successful payload processing. Will panic in case of bad input.