Module quilibrium::node

source ·
Expand description

gRPC client for a Quilibrium node.

Example usage:

// Import the client
use quilibrium::node::NodeClient;

// Connect to your node
let mut client = NodeClient::new("http://1.2.3.4:5678".parse()?).await?;
// Fetch the peers from the node's peer store
let network_info = client.network_info().await?;

Structs

  • Represents a clock frame for a given filter. Clock frames are the primary sequencing mechanism upon which the network derives consensus. As the master pulse clock, this provides deterministic but random leader election. At the data pulse clock level, this provides the same, within a quorum for data sequencers. Docs from: https://github.com/QuilibriumNetwork/ceremonyclient/blob/20aae290cb2f67b4557bd3aa245193f4a4992583/node/protobufs/clock.proto
  • Options for a get frames request.
  • A get frames response from a node.
  • Info about a peer from the node’s peer store.
  • A network info response from a node.
  • gRPC client for a Quilibrium node.
  • Identifier of a peer of the network.
  • Information about a peer the node knows about from the broadcasted sync info that gets replicated through the network mesh.
  • Info about a peer the node knows about.
  • Token supply and balance from a node.

Enums