aboutsummaryrefslogtreecommitdiff
path: root/test/functional/data
Commit message (Collapse)AuthorAgeFilesLines
* check that a separator is found for psbt inputs, outputs, and global mapAndrew Chow2018-12-031-1/+2
| | | | | Github-Pull: #14377 Rebased-From: 4fb3388db95f408566e43ebb9736842cfbff0a7d
* More tests of signer checksAndrew Chow2018-08-151-0/+24
| | | | | GitHub-Pull: #13917 Rebased-From: 5df6f08
* Test that a non-witness script as witness utxo is not signedAndrew Chow2018-08-151-2/+25
| | | | | GitHub-Pull: #13917 Rebased-From: 7c8bffd
* Fix PSBT deserialization of 0-input transactionsAndrew Chow2018-08-151-1/+2
| | | | | | | | | | | | | 0-input transactions can be ambiguously deserialized as being witness transactions. Since the unsigned transaction is never serialized as a witness transaction as it has no witnesses, we should always deserialize it as a non-witness transaction and set the serialization flags as such. Also always serialize the unsigned transaction as a non-witness transaction. GitHub-Pull: #13960 Rebased-From: 43811e6
* Merge #13918: rpc: Replace median fee rate with feerate percentiles in ↵MarcoFalke2018-08-131-3/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | getblockstats 4b7091a842 Replace median fee rate with feerate percentiles (Marcin Jachymiak) Pull request description: Currently, the `medianfeerate` statistic is calculated from the feerate of the middle transaction of a list of transactions sorted by feerate. This PR instead uses the value of the 50th percentile weight unit in the block, and also calculates the feerate at the 10th, 25th, 75th, and 90th percentiles. This more accurately corresponds with what is generally meant by median feerate. Tree-SHA512: 59255e243df90d7afbe69839408c58c9723884b8ab82c66dc24a769e89c6d539db1905374a3f025ff28272fb25a0b90e92d8101103e39a6d9c0d60423a596714
| * Replace median fee rate with feerate percentilesMarcin Jachymiak2018-08-111-3/+21
| | | | | | | | | | | | Removes medianfeerate result from getblockstats. Adds feerate_percentiles which give the feerate of the 10th, 25th, 50th, 75th, and 90th percentile weight unit in the block.
* | Always create 70 byte signatures with low R valuesAndrew Chow2018-08-091-8/+0
|/ | | | | | | | | | | When extra entropy is not specified by the caller, CKey::Sign will now always create a signature that has a low R value and is at most 70 bytes. The resulting signature on the stack will be 71 bytes when the sighash byte is included. Using low R signatures means that the resulting DER encoded signature will never need to have additional padding to account for high R values.
* Fix merging of global unknown data in PSBTsAndrew Chow2018-07-191-0/+7
| | | | | | Actually merge the global unknown key-value pairs. Add a test for merging unknown key-value pairs.
* Check that PSBT keys are the correct lengthAndrew Chow2018-07-191-1/+14
| | | | | | | Checks that all of the one byte type keys are actually one byte and throw an error if they are not. Add tests for each type to check for this behavior.
* Tests for PSBTAndrew Chow2018-07-161-0/+78
| | | | | | | | Added functional tests for PSBT that test the RPCs. Also added all of the BIP 174 test vectors (except for the updater tests) in the functional tests. Added a Unit test for the BIP 174 updater test vector.
* Tests: Add data fileAnthony Towns2018-05-221-0/+204