forked from TrueCloudLab/neoneo-go
d77354db66
* added runtime serialize and deserialize functions * removed getCurrentBlock from runtime functions * Added block and header stdlib interop functions * added transaction interop api * added asset interop api * bumped version * Added missing storage.Find storage API function * Fixed wrong example in the compiler README * updated the compiler README to be more accurate on compiler features
24 lines
871 B
Go
24 lines
871 B
Go
package header
|
|
|
|
import "github.com/CityOfZion/neo-go/pkg/core"
|
|
|
|
// GetIndex returns the index of the given header.
|
|
func GetIndex(header *core.Header) uint32 { return 0 }
|
|
|
|
// GetHash returns the hash of the given header.
|
|
func GetHash(header *core.Header) []byte { return nil }
|
|
|
|
// GetHash returns the version of the given header.
|
|
func GetVersion(header *core.Header) uint32 { return 0 }
|
|
|
|
// GetHash returns the previous hash of the given header.
|
|
func GetPrevHash(header *core.Header) []byte { return nil }
|
|
|
|
// GetHash returns the merkle root of the given header.
|
|
func GetMerkleRoot(header *core.Header) []byte { return nil }
|
|
|
|
// GetHash returns the timestamp of the given header.
|
|
func GetTimestamp(header *core.Header) uint32 { return 0 }
|
|
|
|
// GetHash returns the next validator address of the given header.
|
|
func GetNextConsensus(header *core.Header) []byte { return nil }
|