Generates a legacy transaction with at least one output paying to the given SPK
Builds a crediting transaction with a transaction version parameter.
Builds a crediting transaction with a transaction version parameter. Example: useful for creating transactions with scripts containing OP_CHECKSEQUENCEVERIFY.
Mimics this test utility found in bitcoin core https://github.com/bitcoin/bitcoin/blob/605c17844ea32b6d237db6d83871164dc7d59dab/src/test/script_tests.cpp#L57
Mimics this test utility found in bitcoin core https://github.com/bitcoin/bitcoin/blob/605c17844ea32b6d237db6d83871164dc7d59dab/src/test/script_tests.cpp#L57
the transaction and the output index of the scriptPubKey
Builds a spending WitnessTransaction with the given parameters
Builds a spending transaction according to bitcoin core with max sequence and a locktime of zero.
Builds a spending transaction according to bitcoin core with max sequence and a locktime of zero.
the built spending transaction and the input index for the script signature
Builds a spending transaction according to bitcoin core
Builds a spending transaction according to bitcoin core
the built spending transaction and the input index for the script signature
Generates a random TransactionInput
Generates a transaction with at least one output
Responsible for generating TransactionOutPoint
Generates a random TransactionOutput
Generates a random TX output paying to the given SPK
Generates a validly constructed CLTV transaction, which has a 50/50 chance of being spendable or unspendable.
Outputs that only have a positive amount of satoshis, techinically the bitcoin protocol allows you to have negative value outputs
Creates a sequence of ECPrivateKey, then creates a MultiSignatureScriptPubKey from those private keys.
Creates a sequence of ECPrivateKey, then creates a MultiSignatureScriptPubKey from those private keys. Finally creates a Transaction that spends the MultiSignatureScriptPubKey correctly
Creates a ECPrivateKey, then creates a P2PKHScriptPubKey from that private key Finally creates Transaction that spends the P2PKHScriptPubKey correctly
Creates a ECPrivateKey, then creates a P2PKScriptPubKey from that private key Finally creates a Transaction that spends the P2PKScriptPubKey correctly
Creates a signed P2SH(P2WPKH) transaction
Creates a signed P2SH(P2WSH) transaction
Creates a transaction which contains a P2SHScriptSignature that correctly spends a P2SHScriptPubKey
Generates a WitnessTransaction that has all of it's inputs signed correctly
Generates a WitnessTransaction that has an input spends a raw P2WSH WitnessScriptPubKey
Generates a WitnessTransaction that has an input spends a raw P2WSH WitnessScriptPubKey
Generates a small list of TransactionInput
Generates a small non empty list of TransactionInput
Creates a small sequence of outputs whose total sum is <= totalAmount
Generates a small list of TransactionOutput
Generates a small list of TX outputs paying to the given SPK
Creates a small sequence of outputs whose total sum is <= totalAmount
Creates a small sequence of outputs whose total sum is <= totalAmount
Sequence of outputs and corresponding Redeem Scripts
Generates a small list of Transaction
Creates a ECPrivateKey, then creates a CLTVScriptPubKey from that private key.
Creates a ECPrivateKey, then creates a CLTVScriptPubKey from that private key. Finally creates a Transaction that can successfully spend the CLTVScriptPubKey
generates a ScriptNumber and UInt32 locktime for a transaction such that the tx will be spendable
Creates a ECPrivateKey, then creates a CSVScriptPubKey from that private key.
Creates a ECPrivateKey, then creates a CSVScriptPubKey from that private key. Finally creates a Transaction that can successfully spend the CSVScriptPubKey
Generates a pair of CSV values: a transaction input sequence, and a CSV script sequence value, such that the txInput sequence mask is always greater than the script sequence mask (i.e.
Generates a pair of CSV values: a transaction input sequence, and a CSV script sequence value, such that the txInput sequence mask is always greater than the script sequence mask (i.e. generates values for a validly constructed and spendable CSV transaction)
Generates a transaction where at least one output pays to the given SPK
Generates an arbitrary Transaction This transaction's TransactionInputs will not evaluate to true inside of the ScriptInterpreter
Creates a ECPrivateKey, then creates a CLTVScriptPubKey from that private key Finally creates a Transaction that CANNNOT spend the CLTVScriptPubKey because the LockTime requirement is not satisfied (i.e.
Creates a ECPrivateKey, then creates a CLTVScriptPubKey from that private key Finally creates a Transaction that CANNNOT spend the CLTVScriptPubKey because the LockTime requirement is not satisfied (i.e. the transaction's lockTime has not surpassed the CLTV value in the CLTVScriptPubKey)
Generates a ScriptNumber and UInt32 locktime for a transaction such that the tx will be unspendable
Creates a CSV transaction that's timelock has not been met
Generates a pair of CSV values: a transaction input sequence, and a CSV script sequence value, such that the txInput sequence mask is always less than the script sequence mask (i.e.
Generates a pair of CSV values: a transaction input sequence, and a CSV script sequence value, such that the txInput sequence mask is always less than the script sequence mask (i.e. generates values for a validly constructed and NOT spendable CSV transaction).
Generates a random WitnessTransaction
Generates a SegWit TX where at least one output pays to the given SPK