pub struct TransactionProcessor<'a> { /* private fields */ }

Implementations

TransactionProcessor is for communicating with a validator and routing transaction processing requests to a registered handler. It uses ZMQ and channels to handle requests concurrently.

Adds a transaction family handler

Arguments
  • handler - the handler to be added

Connects the transaction processor to a validator and starts listening for requests and routing them to an appropriate transaction handler.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.