Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSideChainPowTx ¶
func NewSideChainPowTx(payload *payload.SideChainPow, currentHeight uint32) *ela.Transaction
Types ¶
type SideAuxPow ¶
type SideAuxPow struct {
SideAuxMerkleBranch []common.Uint256
SideAuxMerkleIndex int
SideAuxBlockTx ela.Transaction
MainBlockHeader ela.Header
}
func GenerateSideAuxPow ¶
func GenerateSideAuxPow(msgBlockHash common.Uint256, genesisHash common.Uint256) *SideAuxPow
func NewSideAuxPow ¶
func NewSideAuxPow(sideAuxMerkleBranch []common.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 common.Uint256) error
Click to show internal directories.
Click to hide internal directories.