| create crediting transaction
|
| [1 coinbase input => 1 output with given
| scriptPubkey and value]
| create spending transaction
|
| [1 input with referenced transaction outpoint,
| scriptSig, scriptWitness =>
|
| 1 output with empty scriptPubKey, full value
| of referenced transaction]
| Check that the script is inferred as
| non-standard
|
| Check that all flags in
|
| STANDARD_SCRIPT_VERIFY_FLAGS are
| present in mapFlagNames.
|
| Check that the input scripts of a transaction
| are valid/invalid as expected.
|
| Create and activate a UTXO snapshot,
| optionally providing a function to
| malleate the snapshot.
|
| Create a blockchain, starting from
| genesis
|
| Equality between doubles is imprecise.
| Comparison should be done with a small
| threshold of tolerance, rather than
| exact equality.
|
| Compare two descriptors. If only one
| of them has a checksum, the checksum
| is ignored.
|
| Exclude each possible script verify flag from
| flags.
|
| jReturns a set of these flag combinations that
| are valid and without duplicates.
|
| For example: if flags=1111 and the 4 possible
| flags are 0001, 0010, 0100, and 1000, this
| should return the set {0111, 1011, 1101, 1110}.
|
| Assumes that mapFlagNames contains all script
| verify flags.
| Iterate over string values and call
| function for each string without successive
| duplicate characters.
|
| RPC-like helper function, returns
| the generated coin
|
| @return
|
| a real block (0000000000013b8ab2cd513b0261a14096412195a72a0c4827d229dcc7e0f7af)
| with 9 txs.
|
| Return the unsigned from the environment
| var if available, otherwise 0
|
| Import the address to the wallet
|
| Test if a string consists entirely of
| null characters
|
| Flags that are not forbidden by an assert
| in script validation
|
| Make a test setup that has disk access
| to the debug.log file disabled. Can
| be used in “hot loops”, for example fuzzing
| or benchmarking.
|
| Returns the generated coin
|
| Increment a string. Useful to enumerate
| all fixed length strings with characters
| in [min_char, max_char].
|
| Prepare a block to be mined
|
| Seed the given random ctx or use the seed
| passed in via an environment var
|
| Helper: create two dummy transactions, each
| with two outputs.
|
| The first has nValues[0] and nValues[1] outputs
| paid to a TxoutType::PUBKEY,
|
| the second nValues[2] and nValues[3] outputs
| paid to a TxoutType::PUBKEYHASH.
| Old script.cpp SignatureHash function
|
| Given a BlockIndex with the provided
| nbits, verify that the expected difficulty
| results.
|
| Define a virtual block time, one block
| per 10 minutes after Nov 14 2014, 0:55:36am
|
| Trim or fill flags to make the combination
| valid:
|
| WITNESS must be used with P2SH
|
| CLEANSTACK must be used WITNESS and
| P2SH
|