# Functions
Compress compresses the filesystem in the path as tar.gz stream and writes to the given writer.
Decompress reads from the given reader and decompresses the tar.gz stream back to the filesystem in the path.
No description provided by the author
NewDataStreamReader creates an io.ReadCloser out of the DataStreamReciever.
NewDataStreamWriter creates an io.WriteCloser out of the DataStreamSender.
NewVerifyProofReplyStreamReader creates a fan-out reader out of the VerifyProofReplyStreamReciever.
NewVerifyProofReplyStreamWriter creates a fan-in writer out of the VerifyProofReplyStreamSender.
No description provided by the author
# Constants
bytes.
CLOUD means the trie is stored persistently on a cloud storage provider.
LOCAL means the trie is stored temporarily on API Service's local disk.
# Variables
No description provided by the author
No description provided by the author
# Structs
CreateKeyValuesProofRequest represents a create key-values proof request.
No description provided by the author
No description provided by the author
CreateTrieProofRequest represents a create trie proof request.
CreateTrieRequest represents a create trie request.
DataChunk represents a chunk of data transmitted in a gRPC stream.
No description provided by the author
No description provided by the author
DeleteTrieProofRequest represents a delete trie proof request.
ImportTrieRequest represents an import trie request.
Key represents a key of a key-value pair.
KeyValue represents a key-value.
No description provided by the author
KeyValuesFilter represents a key-value filter.
RootFilter represents a root filter to query a proof.
SetTrieRootRequest represents a set trie root request.
SetTrieStorageTypeRequest represents a set trie storage type request.
Trie represents a dictionary of key-values that can be built incrementally, whose root hash at any given time can be also dervied efficiently.
TrieKeyValueRequest represents a trie key-value request.
TrieKeyValuesRequest represents a trie key-values request.
TrieProof represents a proof for a trie at a certain root, which can be viewed as a snapshot of all the key-values contained in the trie.
TrieProofRequest represents a trie proof request.
No description provided by the author
No description provided by the author
TrieProofsRequest represents a trie proofs request.
TrieRequest represents a trie request.
TrieRoot represents a root of a trie.
TrieRootsRequest represents a trie roots request.
VerifyKeyValuesProofRequest represents a verify key-values proof request.
VerifyProofReply represents a verify proof reply.
VerifyProofReplyChunk represents a chunk of data in the verify proof reply stream.
No description provided by the author
No description provided by the author
No description provided by the author
VerifyProofReplyStreamReader represents a fan-out reader.
VerifyProofReplyStreamWriter represents a fan-in writer.
VerifyTrieProofRequest represents a verify trie proof request.
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
APIServiceClient is the client API for APIService service.
APIServiceServer is the server API for APIService service.
DataStreamReciever represents a gRPC data stream receiver.
DataStreamSender represents a gRPC data stream sender.
VerifyProofReplyStreamReciever represents a gRPC verify proof reply stream receiver.
VerifyProofReplyStreamSender represents a gRPC verify proof reply stream sender.
# Type aliases
DataChunkMetadata represents a data chunk metadata.
StorageType represents a trie storage type.