# Functions
CreateDeliverEnvelope creates a signed envelope with SeekPosition_Newest for block.
CreateEnvelope creates a common.Envelope with given tx bytes, header, and SigningIdentity.
CreateHeader creates common.Header for a token transaction tlsCertHash is for client TLS cert, only applicable when ClientAuthRequired is true.
No description provided by the author
No description provided by the author
DeliverWaitForResponse waits for either eventChan has value (i.e., response has been received) or ctx is timed out This function assumes that the eventCh is only for the specified txid If an eventCh is shared by multiple transactions, a loop should be used to listen to events from multiple transactions.
GetRandomBytes returns len random looking bytes.
GetRandomNonce returns a random byte array of length NonceSize.
No description provided by the author
No description provided by the author
# Constants
NonceSize is the default NonceSize.
# Interfaces
DeliverClient defines the interface to create a DeliverStream client.
DeliverFiltered defines the interface that abstracts deliver filtered grpc calls to peer.
DeliverStream defines the interface that abstracts deliver grpc calls to peer.
No description provided by the author
No description provided by the author
No description provided by the author
Vault models a key-value store that can be updated by committing rwsets.
# Type aliases
Callback is the callback function prototype to alert the rest of the stack about the availability of a new block.