Commit graph

1098 commits

Author SHA1 Message Date
Gregory Sanders
753a1ce2a3
Merge #526: [0.17] Add test for superfulous witness record in deserialization
310c4dc Add test for superfulous witness record in deserialization (Gregory Sanders)

Pull request description:

  Backport of 7c1ad7c036

Tree-SHA512: 4f67814e411209ef3424e2ae80bd3c2c4ec92e670742b795c3c79ac7c9eb4be92727472d1611e5dade8710207d47d6157db0b790d62ab8f27c79e7c6141660ae
2019-03-21 15:08:51 -04:00
Gregory Sanders
310c4dc262 Add test for superfulous witness record in deserialization 2019-03-21 14:06:41 -04:00
Steven Roose
aba54b3f92
Make validatepegin default to true if has parent chain 2019-03-21 17:55:02 +00:00
Gregory Sanders
899690be2f
Merge #522: Fix occasional mempool_packages failure
a88eae1 Fix occasional mempool_packages failure (Steven Roose)

Pull request description:

Tree-SHA512: 89c3880a184294b5708304c9add8936b65572af8f03033505d1961da58f705776a8f42a29e8815c0eab3ca84f4dac36bc1c22ab5697cf0675ce50ba4d23b00ff
2019-03-21 10:05:22 -04:00
Steven Roose
a88eae1934
Fix occasional mempool_packages failure 2019-03-21 13:05:46 +00:00
Steven Roose
5b8c79ac9d
Fix progress reporting issue
Reimplementation of https://github.com/Blockstream/liquid/pull/6
2019-03-21 11:01:16 +00:00
Gregory Sanders
de56cd82b6 move fee estimation test to extended tests, takes too long 2019-03-20 16:58:47 -04:00
Gregory Sanders
30552459dc Spelling linter 2019-03-20 11:05:49 -04:00
Gregory Sanders
0148024dd8 Functional test linting 2019-03-20 11:00:50 -04:00
Steven Roose
a687dd9a34
Add assets and issuance functional tests 2019-03-20 12:06:05 +00:00
Steven Roose
96af43b185
Add confidential transactions functional test 2019-03-20 12:06:04 +00:00
Steven Roose
39020cdc7b
Adapt existing functional tests to CA 2019-03-20 12:06:03 +00:00
Steven Roose
6113bf89cf
[BROKEN] Add fee outputs to functional tests 2019-03-20 12:06:02 +00:00
Steven Roose
b48aea8284
[BROKEN] Account for assets in all balance inspection in tests 2019-03-20 12:06:01 +00:00
Steven Roose
84954c8110
Add CAssetsDir 2019-03-20 12:05:38 +00:00
Gregory Sanders
9cb2fa051f
Add blech32 python implementation with diff annotation with segwit_addr.py 2019-03-20 12:05:35 +00:00
Steven Roose
3e7cff1e45
Disable tests that are not relevant for Elements 2019-03-20 12:05:30 +00:00
Gregory Sanders
3a0b3b70a5
Add tweakfedpeg and compatbility test 2019-03-20 12:05:29 +00:00
Gregory Sanders
b8820d1836 Activate CSV from genesis block for custom chains 2019-02-14 09:05:10 -05:00
Gregory Sanders
52c8601cf4
Remove manual byte editing in wallet_tx_clone func test 2019-02-13 15:34:48 +00:00
Steven Roose
0c05901791
Add functional test for Elements witness serialization 2019-02-13 11:42:47 +00:00
Steven Roose
fb72ee8fc8 Add Elements-style witness serialization 2019-02-13 11:42:38 +00:00
Steven Roose
01b03a9206 Add calcfastmerkleroot RPC and test-framework support 2019-02-13 11:42:38 +00:00
Gregory Sanders
4202671221 MERGE FIX: spelling linter fixes 2019-01-31 10:55:03 +00:00
Gregory Sanders
90f7d18c8f MERGE-FIX: functional tests 2019-01-31 10:29:09 +00:00
Gregory Sanders
c62fab2d69 UPSTREAM MERGE BROKEN: Merge commit '3832c25f17' into merge_14225 2019-01-28 18:14:25 +00:00
Gregory Sanders
07173d02f4 Merge branch 'elements-0.17' into merge_13968 2019-01-24 12:51:19 -05:00
Gregory Sanders
1cb252e01d Descriptor support in PAK infrastructure and tests 2019-01-24 11:07:17 -05:00
Gregory Sanders
bcd8db972f functional test for pak feature 2019-01-24 11:07:11 -05:00
Gregory Sanders
f1dbd1cf3d -multi_data_permitted: Allow >1 op_return output by policy 2019-01-24 11:06:59 -05:00
Gregory Sanders
60b7ef5287 MERGE-FIX: mining_basic.py: Remove magic constants, make sure serialized header deserializes 2019-01-23 16:48:36 -05:00
Gregory Sanders
c5a93c008f UPSTREAM MERGE BROKEN: Merge commit '8aa9badf5e' into e17 2019-01-23 16:48:22 -05:00
Steven Roose
d358364a36
Integration test for pegins and pegouts 2019-01-02 18:46:07 +01:00
Steven Roose
238a72bead Add arguments for parent chain characteristics 2019-01-02 16:12:42 +01:00
Gregory Sanders
ff32b17c5d elements style genesis block commits to signblockscript in CommitToArguments 2018-12-19 11:38:43 -05:00
Gregory Sanders
3169d380a6 added blocksign functional test 2018-12-19 11:38:43 -05:00
Gregory Sanders
d78f0763a1 Signed blocks by default for custom chains 2018-12-19 11:38:43 -05:00
Gregory Sanders
c00d83f126 Set walletrbf default to 1 2018-12-18 16:08:44 -05:00
Carl Dong
95432aad58 Test listunspent sanity when specifying initialfreecoins 2018-12-18 10:27:45 -08:00
Gregory Sanders
1ac14fc958 restore bitcoin regtest gen block using -genesis_style
- also regenerate test data for getblockstats
2018-12-18 10:27:43 -08:00
Carl Dong
8b8c11a44b Add initialfreecoins option, default of 0
- Add CommitToArgument without fedpegScript or signblockscript
- Modify CreateGenesisBlock to take in the genesis scriptSig
- Add AppendInitialIssuace without assets support
- AppendInitialIssuance to genesis block for Custom chain only
- Add -initialfreecoins option
- Modify tests to work with initialfreecoins
2018-12-18 10:21:51 -08:00
Carl Dong
e04f6c7018 Activate BIPs 34, 65, 66 at block 0
- Reinstate Bitcoin BIP activation heights for tests
- Add tests for block v4 after genesis block
2018-12-17 02:53:37 -08:00
Gregory Sanders
2bfabb3e4f blockheaders include block height, nodes validate it
The block height validation is gated by the startup option
`con_blockheightinheader`, accesible in custom chains only
using option `chain=<name>`. Only if set to true will this
field be (de)serialized and evaluated in consensus logic.
Otherwise the field is simply ignored, other than being
stored in memory as the default value 0.
2018-11-27 09:46:25 -05:00
Gregory Sanders
8f6bedfd4b functional framework support for CScriptNum decode 2018-11-27 09:45:15 -05:00
Gregory Sanders
609323f7b7
Merge #468: Replace deprecated tostring with tobytes
00315c8 Replace deprecated tostring with tobytes (Carl Dong)

Pull request description:

  Upstream: https://github.com/bitcoin/bitcoin/pull/13963

Tree-SHA512: 667cb8799941e7c3a567e8c9b77b77fdf1b838d170b5de2c51618e6d1284216039cb39e44f9650b6a7de325036a0d2c80aeb9cf5387da7e183f33461a31c9727
2018-11-27 09:09:53 -05:00
Gregory Sanders
9908f9a152 Add TX_TRUE output format, accept in wallet with anyonecanspendaremine 2018-11-15 15:12:12 -05:00
Carl Dong
00315c85bb Replace deprecated tostring with tobytes 2018-11-15 05:30:49 -08:00
Gregory Sanders
32f1bf26ec move most extended tests to normal 2018-11-01 14:43:44 -04:00
Gregory Sanders
d97920caa4 add functional test for coinbase connection to db 2018-10-25 13:21:42 -04:00
Gregory Sanders
ccf40db968 connect genesis block transaction outputs to coin db 2018-10-25 12:51:53 -04:00