Module request

Source
Expand description

Convenience functions for requests/responses.

This module implements many methods for CupratedRpcHandler that are simple wrappers around the request/response API provided by the multiple tower::Services.

These exist to prevent noise like unreachable!() from being everywhere in the actual handler functions.

Each module implements methods for a specific API, e.g. the blockchain modules contains methods for the blockchain database tower::Service API.

Modulesยง

address_book ๐Ÿ”’
Functions for TODO: doc enum message.
blockchain ๐Ÿ”’
Functions for BlockchainReadRequest.
blockchain_context ๐Ÿ”’
Functions for BlockChainContextRequest and BlockChainContextResponse.
blockchain_manager ๐Ÿ”’
Functions for BlockchainManagerRequest & BlockchainManagerResponse.
txpool ๐Ÿ”’
Functions for TxpoolReadRequest.