protocol

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 0 Imported by: 78

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL