Module sc_client_api::client

source ·
Expand description

A set of APIs supported by the client along with their primitives.

Structs§

Enums§

  • Message that signals notification-based pinning actions to the pinning-worker.

Traits§

  • Interface for fetching block data.
  • Figure out the block type for a given type (for now, just a Client).
  • A source of blockchain events.
  • Interface to perform auxiliary actions before committing a block import or finality operation.
  • Provide a list of potential uncle headers for a given block.

Type Aliases§

  • List of operations to be performed on storage aux data. First tuple element is the encoded data key. Second tuple element is the encoded optional data to write. If None, the key and the associated data are deleted from storage.
  • Known bad block hashes.
  • A stream of block finality notifications.
  • Expected hashes of blocks at given heights.
  • Type that implements futures::Stream of block import events.
  • Callback invoked before committing the operations created during block finalization. This gives the opportunity to perform auxiliary pre-commit actions and optionally enqueue further storage write operations to be atomically performed on commit.
  • Callback invoked before committing the operations created during block import. This gives the opportunity to perform auxiliary pre-commit actions and optionally enqueue further storage write operations to be atomically performed on commit.