package
2.0.0-alpha+incompatible
Repository: https://github.com/hyperledger-labs/fabric-block-archiving.git
Documentation: pkg.go.dev

# Constants

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
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

# Variables

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

# Structs

This is finalized block structure to be shared among the orderer and peer Note that the BlockHeader chains to the previous BlockHeader, and the BlockData hash is embedded in the BlockHeader.
Contains information about the blockchain ledger such as height, current block hash, and previous block hash.
No description provided by the author
BlockDataHashingStructure is encoded into the configuration transaction as a configuration item of type Chain with a Key of "BlockDataHashingStructure" and a Value of HashingAlgorithm as marshaled protobuf bytes.
BlockHeader is the element of the block which forms the block chain The block header is hashed using the configured chain hashing algorithm over the ASN.1 encoding of the BlockHeader.
No description provided by the author
Capabilities message defines the capabilities a particular binary must implement for that binary to be able to safely participate in the channel.
Capability is an empty message for the time being.
Header is a generic replay prevention and identity message to include in a signed payload.
CollectionConfig defines the configuration of a collection object; it currently contains a single, static type.
No description provided by the author
CollectionConfigPackage represents an array of CollectionConfig messages; the extra struct is required because repeated oneof is forbidden by the protobuf syntax.
CollectionCriteria defines an element of a private data that corresponds to a certain transaction and collection.
Collection policy configuration.
No description provided by the author
Config represents the config for a particular channel.
ConfigEnvelope is designed to contain _all_ configuration for a chain with no dependency on previous configuration transactions.
ConfigGroup is the hierarchical data structure for holding config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ConfigUpdate is used to submit a subset of config and to have the orderer apply to Config it is always submitted inside a ConfigUpdateEnvelope which allows the addition of signatures resulting in a new total configuration.
No description provided by the author
ConfigValue represents an individual piece of config data.
No description provided by the author
Consortium represents the consortium context in which the channel was created.
Envelope wraps a Payload with a signature so that the message may be authenticated.
HashingAlgorithm is encoded into the configuration transaction as a configuration item of type Chain with a Key of "HashingAlgorithm" and a Value of HashingAlgorithm as marshaled protobuf bytes.
No description provided by the author
ImplicitMetaPolicy is a policy type which depends on the hierarchical nature of the configuration It is implicit because the rule is generate implicitly based on the number of sub policies It is meta because it depends only on the result of other policies When evaluated, this policy iterates over all immediate child sub-groups, retrieves the policy of name sub_policy, evaluates the collection and applies the rule.
LastConfig is the encoded value for the Metadata message which is encoded in the LAST_CONFIGURATION block metadata index.
Metadata is a common structure to be used to encode block metadata.
No description provided by the author
OrdererAddresses is encoded into the configuration transaction as a configuration item of type Chain with a Key of "OrdererAddresses" and a Value of OrdererAddresses as marshaled protobuf bytes.
OrdererBlockMetadata defines metadata that is set by the ordering service.
Payload is the message contents (and header to allow for signing).
Policy expresses a policy which the orderer can evaluate, because there has been some desire expressed to support multiple policy engines, this is typed as a oneof for now.
No description provided by the author
SignaturePolicy is a recursive message structure which defines a featherweight DSL for describing policies which are more complicated than 'exactly this signature'.
No description provided by the author
No description provided by the author
No description provided by the author
SignaturePolicyEnvelope wraps a SignaturePolicy and includes a version for future enhancements.
StaticCollectionConfig constitutes the configuration parameters of a static collection object.

# Type aliases

This enum enlists indexes of the block metadata array.
No description provided by the author
No description provided by the author
No description provided by the author
These status codes are intended to resemble selected HTTP status codes.