Get desktop application:
View/edit binary Protocol Buffers messages
A service run by the Proxy which listens for incoming connections from workers and then notifies clients.
Notify a client that there has been an update for a `ChainId`.
How to communicate with a validator or a local node.
Propose a new block.
Process a certificate without value.
Handle information queries for this chain.
Subscribe to notifications for a set of Chain Ids.
A request for client to subscribe to notifications for a given `ChainId`
Request the node's version info.
Information about the version of Linera the validator is running
Request the network description seen by this node.
Download a blob.
Download a blob that belongs to a pending block on the given chain.
Handle a blob that belongs to a pending block on the given chain.
Upload a blob. Returns an error if the validator has not seen a certificate using this blob.
Download a certificate.
Download a batch of certificates.
A request for a batch of certificates.
A batch of certificates.
Return the hash of the `Certificate` that last used a blob.
Return the `BlobId`s that are not contained as `Blob`.
Content-addressed blob IDs i.e. the hashes of the `BlobContent`s.
Interface provided by each physical shard (aka "worker") of a validator or a local node. * All commands return either the current chain info or an error. * Repeating commands produces no changes and returns no error. * Some handlers may return cross-chain requests, that is, messages to be communicated to other workers of the same validator.
Propose a new block.
Process a certificate without value.
Handle information queries for this chain.
Download a blob that belongs to a pending block on the given chain.
Handle a blob that belongs to a pending block on the given chain.
Handle a (trusted!) cross-chain request.
An internal request between chains within a validator.
Used in:
,/ Public key of a Linera account. / Corresponding private key is used to sign block proposals.
Used in:
/ Signature created by a Linera account.
Used in:
A blob of binary data.
Used as request type in: ValidatorNode.UploadBlob
Used as response type in: ValidatorNode.DownloadBlob
Used as field type in:
,A content-addressed blob ID i.e. the hash of the `BlobContent`.
Used as request type in: ValidatorNode.BlobLastUsedBy, ValidatorNode.DownloadBlob
Used as response type in: ValidatorNode.UploadBlob
Used as field type in:
Used in:
,An authenticated proposal for a new block.
Used as request type in: ValidatorNode.HandleBlockProposal, ValidatorWorker.HandleBlockProposal
The ID of the chain (used for routing).
bincode-encoded content
Byte-encoded public key
Byte-encoded owner
Signature by chain owner
A lite certificate for a validated block that justifies the proposal in this round.
A certified statement from the committee.
Used as response type in: ValidatorNode.DownloadCertificate
Used as field type in:
, , ,The certified value
The round in which the value was certified.
Signatures on the value hash and round
The kind of certificate serialized in `value` field.
Used in:
,Certificate for a timeout vote.
Certificate for a validated block.
Certificate for a confirmed block.
Used in:
, , , , , , , , , , ,Request information on a chain.
Used as request type in: ValidatorNode.HandleChainInfoQuery, ValidatorWorker.HandleChainInfoQuery
The chain ID
Optionally test that the block height is as expected
Query the current committees
Query the received messages that are waiting to be picked in the next block.
Query a range of certificates hashes sent from the chain.
Query new certificate removed from the chain.
Query values from the chain manager, not just votes.
Request a signed vote for a leader timeout.
Query the balance of a given owner.
Request a signed vote for fallback mode.
Response to `ChainInfoQuery`
Used in:
bincode-encoded chain info
Optional validator signature for the response.
A wrapper around ChainInfoResponse which contains a serialized error variant
Used as response type in: ValidatorNode.HandleBlockProposal, ValidatorNode.HandleChainInfoQuery, ValidatorNode.HandleConfirmedCertificate, ValidatorNode.HandleLiteCertificate, ValidatorNode.HandlePendingBlob, ValidatorNode.HandleTimeoutCertificate, ValidatorNode.HandleValidatedCertificate, ValidatorWorker.HandleBlockProposal, ValidatorWorker.HandleChainInfoQuery, ValidatorWorker.HandleConfirmedCertificate, ValidatorWorker.HandleLiteCertificate, ValidatorWorker.HandlePendingBlob, ValidatorWorker.HandleTimeoutCertificate, ValidatorWorker.HandleValidatedCertificate
a bincode wrapper around `NodeError`
Acknowledge the height of the highest confirmed blocks communicated with `UpdateRecipient`.
Used in:
Information about the Linera crate version the validator is running
Used in:
Used as request type in: ValidatorNode.DownloadCertificate
Used as response type in: ValidatorNode.BlobLastUsedBy
Used as field type in:
,A certified statement from the committee, together with other certificates required for execution.
Used as request type in: ValidatorNode.HandleConfirmedCertificate, ValidatorWorker.HandleConfirmedCertificate
The ID of the chain (used for routing).
A certified statement from the committee.
Wait until all outgoing cross-chain messages from this certificate have been received by the target chains.
A request to handle a pending blob.
Used as request type in: ValidatorNode.HandlePendingBlob, ValidatorWorker.HandlePendingBlob
A certified statement from the committee, together with other certificates required for execution.
Used as request type in: ValidatorNode.HandleTimeoutCertificate, ValidatorWorker.HandleTimeoutCertificate
The ID of the chain (used for routing).
A certified statement from the committee.
A certified statement from the committee, together with other certificates required for execution.
Used as request type in: ValidatorNode.HandleValidatedCertificate, ValidatorWorker.HandleValidatedCertificate
The ID of the chain (used for routing).
A certified statement from the committee.
A certified statement from the committee, without the value.
Used as request type in: ValidatorNode.HandleLiteCertificate, ValidatorWorker.HandleLiteCertificate
The ID of the chain the value belongs to.
The certified value's hash
The round in which the value was certified.
Signatures on the value hash and round
Wait until all outgoing cross-chain messages from this certificate have been received by the target chains.
Notify that a chain has a new certified block or a new message.
Used as request type in: NotifierService.Notify
Used as response type in: ValidatorNode.Subscribe
A request for a pending blob.
Used as request type in: ValidatorNode.DownloadPendingBlob, ValidatorWorker.DownloadPendingBlob
A requested pending blob, or an error.
Used as response type in: ValidatorNode.DownloadPendingBlob, ValidatorWorker.DownloadPendingBlob
a bincode wrapper around `NodeError`
Communicate a number of messages from the sender to the recipient. Messages must be given by increasing block height.
Used in:
/ Public key of a validator.
/ Signature created by a validator.
Used in: