Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompatibleRange ¶
type CompatibleRange struct {
	// StartHeight is the first block that the version supports.
	StartHeight uint64
	// EndHeight is the last block that the version supports.
	EndHeight uint64
}
    CompatibleRange contains the first and the last height that the node's version supports.
type NetworkParameters ¶
NetworkParameters contains the network-wide parameters for the Flow blockchain.
type NodeVersionInfo ¶
type NodeVersionInfo struct {
	Semver  string
	Commit  string
	SporkId flow.Identifier
	// ProtocolVersion is the deprecated protocol version number.
	// Deprecated: Previously this referred to the major software version as of the most recent spork.
	// Replaced by protocol_state_version.
	ProtocolVersion uint64
	// ProtocolStateVersion is the Protocol State version as of the latest finalized block.
	// This tracks the schema version of the Protocol State and is used to coordinate breaking changes in the Protocol.
	// Version numbers are monotonically increasing.
	ProtocolStateVersion uint64
	SporkRootBlockHeight uint64
	NodeRootBlockHeight  uint64
	CompatibleRange      *CompatibleRange
}
    NodeVersionInfo contains information about node, such as semver, commit, sporkID, protocolVersion, etc
type TransactionResult ¶
type TransactionResult struct {
	Status        flow.TransactionStatus
	StatusCode    uint
	Events        []flow.Event
	ErrorMessage  string
	BlockID       flow.Identifier
	TransactionID flow.Identifier
	CollectionID  flow.Identifier
	BlockHeight   uint64
}
    TransactionResult represents a flow.TransactionResult with additional fields required for the Access API
func (*TransactionResult) IsExecuted ¶
func (r *TransactionResult) IsExecuted() bool
func (*TransactionResult) IsFinal ¶
func (r *TransactionResult) IsFinal() bool
 Click to show internal directories. 
   Click to hide internal directories.