Module config

Source

Structs§

Config
Initialized
The initialized state can be achieved only by the init function because () is private.
NotInitialized

Constants§

MAX_HEADERS_PER_REQUEST
Maximum number of blocks per request.
MAX_RESPONSE_SIZE
Maximum response size from the p2p. The configuration of the ingress should be the same:
MAX_TXS_PER_REQUEST
Maximum number of transactions ids asked per request.

Functions§

convert_to_libp2p_keypair
Takes secret key bytes generated outside of libp2p. And converts it into libp2p’s Keypair::Secp256k1.