pub struct ZmqService { /* private fields */ }

Implementations

Serialize and send a request, wait for the default timeout, and receive and parse an expected response.

Trait Implementations

Send a consensus message to a specific, connected peer

Broadcast a message to all connected peers

Initialize a new block built on the block with the given previous id and begin adding batches to it. If no previous id is specified, the current head will be used. Read more

Stop adding batches to the current block and return a summary of its contents. Read more

Insert the given consensus data into the block and sign it. If this call is successful, the consensus engine will receive the block afterwards. Read more

Stop adding batches to the current block and abandon it.

Update the prioritization of blocks to check

Update the block that should be committed

Signal that this block is no longer being committed

Mark this block as invalid from the perspective of consensus

Retrieve consensus-related information about blocks

Get the chain head block.

Read the value of settings as of the given block

Read values in state as of the given block

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.