Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Current returns latest version of protocol Current() Protocol }
Client defines interface for accessing protocol version/information
type Protocol ¶
type Protocol struct { // StartingBlockChainTime is inclusive starting logical blockchain time that this protocol applies to. StartingBlockChainTime uint // HashAlgorithmInMultiHashCode is hash algorithm in multihash code HashAlgorithmInMultiHashCode uint // MaxOperationsPerBatch defines maximum operations per batch MaxOperationsPerBatch uint // MaxOperationByteSize is maximum size of an operation in bytes MaxOperationByteSize uint }
Protocol defines protocol parameters
Click to show internal directories.
Click to hide internal directories.