interfaces

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: MIT Imports: 2 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Header interface {
	common.Serializable

	SetVersion(uint32)
	GetVersion() uint32
	Hash() common.Uint256
	SetHeight(uint32)
	GetHeight() uint32
	GetMainChainHeight() uint32
	SetBits(uint32)
	GetBits() uint32
	GetAuxPow() *auxpow.SideAuxPow
	SetAuxPow(*auxpow.SideAuxPow)
	SetPrevious(common.Uint256)
	GetPrevious() common.Uint256
	SetMerkleRoot(common.Uint256)
	GetMerkleRoot() common.Uint256
	SetTimeStamp(uint32)
	GetTimeStamp() uint32
	SetNonce(uint32)
	GetNonce() uint32
	GetHeaderSize() int
}

Jump to

Keyboard shortcuts

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