header

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConsensusData

func GetConsensusData(h Header) int

GetConsensusData returns the consensus data of the given header.

func GetHash

func GetHash(h Header) []byte

GetHash returns the hash of the given header.

func GetIndex

func GetIndex(h Header) int

GetIndex returns the index of the given header.

func GetMerkleRoot

func GetMerkleRoot(h Header) []byte

GetMerkleRoot returns the merkle root of the given header.

func GetNextConsensus

func GetNextConsensus(h Header) []byte

GetNextConsensus returns the next consensus of the given header.

func GetPrevHash

func GetPrevHash(h Header) []byte

GetPrevHash returns the previous hash of the given header.

func GetTimestamp

func GetTimestamp(h Header) int

GetTimestamp returns the timestamp of the given header.

func GetVersion

func GetVersion(h Header) int

GetVersion returns the version of the given header.

Types

type Header struct{}

Header stubs a NEO block header type.

Jump to

Keyboard shortcuts

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