package
1.0.0
Repository: https://github.com/bytom/bystack.git
Documentation: pkg.go.dev

# Functions

CallContractProgram generates the script for control contract output follow BCRP(bytom contract register protocol).
DefaultCoinbaseProgram generates the script for contorl coinbase output.
GetIssuanceProgramRestrictHeight return issuance program restrict height if height invalid return 0.
IsUnspendable checks if a contorl program is absolute failed.
No description provided by the author
P2PKHSigProgram generates the script for control with pubkey hash.
P2SHProgram generates the script for control with script hash.
P2SPMultiSigProgram generates the script for control transaction output.
P2SPMultiSigProgramWithHeight generates the script with block height for control transaction output.
P2WPKHProgram return the segwit pay to public key hash.
P2WSHProgram return the segwit pay to script hash.
RegisterProgram generates the script for register contract output follow BCRP(bytom contract register protocol).
RetireProgram generates the script for retire output.

# Variables

pre-define errors.
pre-define errors.
No description provided by the author

# Structs

No description provided by the author