Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIncorrectScriptPubKeyLen = errors.New("incorrect script pub key length")
ErrIncorrectScriptPubKeyLen indicates that the script pub key length is not as expected.
Functions ¶
func DeserializeCoinbasePayload ¶
func DeserializeCoinbasePayload(tx *appmessage.MsgTx) (blueScore uint64, scriptPubKey []byte, extraData []byte, err error)
DeserializeCoinbasePayload deserializes the coinbase payload to its component (scriptPubKey and extra data).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.