Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSideChainPowTx ¶
func NewSideChainPowTx(payload *ela.PayloadSideChainPow, currentHeight uint32) *ela.Transaction
Types ¶
type SideAuxPow ¶
type SideAuxPow struct {
SideAuxMerkleBranch []Uint256
SideAuxMerkleIndex int
SideAuxBlockTx ela.Transaction
MainBlockHeader ela.Header
}
func GenerateSideAuxPow ¶
func GenerateSideAuxPow(msgBlockHash Uint256, genesisHash Uint256) *SideAuxPow
func NewSideAuxPow ¶
func NewSideAuxPow(sideAuxMerkleBranch []Uint256, sideAuxMerkleIndex int, sideAuxBlockTx ela.Transaction, mainBlockHeader ela.Header) *SideAuxPow
func (*SideAuxPow) Deserialize ¶
func (sap *SideAuxPow) Deserialize(r io.Reader) error
func (*SideAuxPow) SideAuxPowCheck ¶
func (sap *SideAuxPow) SideAuxPowCheck(hashAuxBlock Uint256) bool
Click to show internal directories.
Click to hide internal directories.