Skip to main content

Module methods

Module methods 

Source
Expand description

Implements Indexer methods on the IndexerRPC type

Constantsยง

RESPONSE_BUFFER_SIZE ๐Ÿ”’
The maximum number of messages that can be queued to be streamed to a client.
SEND_TIMEOUT ๐Ÿ”’
How long to wait for a backpressured send before treating the consumer as hung and dropping the subscription.

Functionsยง

decode_known_chain_tips ๐Ÿ”’
Decodes the chain tip hashes from a NonFinalizedStateChangeRequest into a set of block::Hashes.
hash_from_display_bytes ๐Ÿ”’
Decodes a 32-byte block hash in display order, rejecting wrong-length input.