| Commit message (Collapse) | Author | Age | Files | Lines |
| | |
|
| |
|
|
|
| |
- explicitly specify v1 and v2 transactions due to 140cc1db
- fix "exec: bitcoin-tx" misses
|
| | |
|
| |
|
| |
Re-introduce alert functionality removed from Bitcoin upstream
|
| |
|
| |
Update Python test address and key values to match Dogecoin format
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace test data with Dogecoin equivalents in the folowing tests:
* base58
* bip32
* keys
* miner
* pow
Replace RPC and deterministic signatures in unit tests with Dogecoin values. While
conventionally I'd use an alternative implementation for these, as RFC 6979
compliant signature generation isn't terribly common, and there's no reason
to suspect we've modified this code, I'm going to assert that it's good enough
to test that the code doesn't provide different values.
Disabled Bitcoin PoW tests, but left code in place to simplify later merges. These are
replaced by the Dogecoin PoW tests.
|
| |
|
|
|
| |
Github-Pull: #10130
Rebased-From: 19ecd1e2e13514c8a92a2a4337c2568c3d5d13e5
|
| |
|
|
|
| |
Github-Pull: #10130
Rebased-From: 21704f6334d2a4bd140c6e3260c4bfa3f3157bad
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit add testcases to test the following functions in bitcoin-tx:
- add a pay to non-standard script output
- add a P2SH output
- add a P2WSH output
- add a P2WSH wrapped in a P2SH output
- add a pay to pub key output
- add a P2WPKH output
- add a P2WPKH wrapped in a P2SH output
- add a bare multisig output
- add a multisig in P2SH output
- add a multisig in a P2WSH output
- add a multisig in a P2WSH wrapped in as P2SH output
|
| | |
|
| | |
|
| |\
| |
| |
| |
| |
| |
| | |
c5c92c4 Update python tests for default tx version=2 (BtcDrak)
dab207e Preserve tx version=1 for certain tests (BtcDrak)
c5d746a tiny test fix for mempool_tests (Alex Morcos)
1f0ca1a Bump default transaction version to 2 (BtcDrak)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
5262a15 tx_valid: re-order inputs to how they are encoded (Daniel Cousens)
|
| | | |
|
| |/
|
|
| |
Restore pre V0.13.1 functionality to bitcoin-tx and allow it to parse 0-input partial transactions.
|
| |\
| |
| |
| | |
acf853d Add script tests for FindAndDelete in pre-segwit and segwit scripts (Johnson Lau)
|
| | | |
|
| |/ |
|
| |\
| |
| |
| | |
4408558 Update bitcoin-tx to output witness data. (jonnynewbs)
|
| | | |
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
54e5d7c Add bitcoin-tx JSON tests (jnewbery)
|
| | | |
|
| | | |
|
| |/ |
|
| | |
|
| |
|
|
| |
Add tests that witness signatures cover value
|
| |
|
|
|
|
|
|
|
|
|
|
| |
mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.
Py3 conversion by Marco Falke
Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
|
| | |
|
| |
|
|
| |
Contains fix by Johnson Lau.
|
| |
|
|
| |
Including BIP143 P2WSH examples by jl2012.
|
| |
|
|
|
|
| |
Contains refactorings by Eric Lombrozo.
Contains fixup by Nicolas Dorier.
Contains cleanup of CInv::GetCommand by Alex Morcos
|
| |\
| |
| |
| |
| |
| | |
ae357d5 [Bitcoin-Tx] Add tests for sequence number support (Jonas Schnelli)
e59336f [bitcoin-tx] allow to set nSequence number over the in= command (Jonas Schnelli)
a946bb6 [RPC] createrawtransaction: add option to set the sequence number per input (Jonas Schnelli)
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixing formatting
Adding test case into automatically generated test case set
Clean up commits
removing extra whitespace from eol
Removing extra whitespace on macro line
|
| |/
|
|
|
|
|
|
|
|
|
|
| |
Changing NOP3 op name to OP_CHECKSEQUENCEVERIFY, renaming instances of OP_NOP3 in script_tests.json to CHECKSEQUENCEVERIFY
Cleaning up NOP3 comment
Re-adding test cases that were accidentally deleted, removing dupicated test case, fixing formatting
Removing re-labeling of OP_NOP3 to OP_CSV
Fixing whitespace issues
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
They claimed to be testing P2SH scripts with non-push scriptSigs, but
1) they were not enabling P2SH
2) they have push-only scriptSigs
Fix this, and add a few more related cases.
|
| | |
|
| |\
| |
| |
| |
| |
| | |
0ecb340 test: Script_error checking in script_invalid tests (Wladimir J. van der Laan)
2317ad7 test: Re-introduce JSON pretty printing in test builder (Wladimir J. van der Laan)
b0ff857 test: Move non-generated script_invalid test to the correct place (Wladimir J. van der Laan)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Check the returned script_error. Add expected script_error
for generated as well as custom tests.
The specific error is not part of consensus, however
it could avoid unclear reporting issues such as #6862 in the future.
Fixes #7513.
|
| | |
| |
| |
| |
| | |
This test was introduced in 9fadf1c874f938f87395495776dbae896551873d,
but accidentally added in the autogenerated area.
|
| |/
|
|
|
|
|
|
|
|
| |
- Replace NOP3 with CHECKSEQUENCEVERIFY (BIP112)
<nSequence> CHECKSEQUENCEVERIFY -> <nSequence>
- Fails if txin.nSequence < nSequence, allowing funds of a txout to be locked for a number of blocks or a duration of time after its inclusion in a block.
- Pull most of CheckLockTime() out into VerifyLockTime(), a local function that will be reused for CheckSequence()
- Add bitwise AND operator to CScriptNum
- Enable CHECKSEQUENCEVERIFY as a standard script verify flag
- Transactions that fail CSV verification will be rejected from the mempool, making it easy to test the feature. However blocks containing "invalid" CSV-using transactions will still be accepted; this is *not* the soft-fork required to actually enable CSV for production use.
|
| | |
|