Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VerifyBurn ¶
VerifyBurn verifies a burn proof.
Types ¶
type CoinsProof ¶
type CoinsProof struct {
MerkleIndex uint32
MerkleBranch []chainhash.Hash
PkScript []byte
Transaction wire.MsgTx
}
CoinsProof is a proof of coins on the old blockchain.
func (*CoinsProof) CalcMerkleRoot ¶
func (c *CoinsProof) CalcMerkleRoot(leafHash chainhash.Hash) chainhash.Hash
CalcMerkleRoot calculates the merkle root under some assumptions.
Click to show internal directories.
Click to hide internal directories.