Module service

Module service 

Source
Expand description

Convenience functions for Cuprateโ€™s various tower::Service 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 to send AddressBookRequests.
blockchain ๐Ÿ”’
Functions to send BlockchainReadRequests.
blockchain_context ๐Ÿ”’
Functions to send BlockChainContextRequests.
blockchain_manager ๐Ÿ”’
Functions to send BlockchainManagerRequests.
tx_handler ๐Ÿ”’
txpool ๐Ÿ”’
Functions to send TxpoolReadRequests.