Commit graph

18060 commits

Author SHA1 Message Date
Gregory Sanders
fbc08970b9 fixup miner rpc call 2018-11-07 13:39:09 -05:00
Gregory Sanders
166ea7182f f'add compact block rpc calls' 2018-11-07 13:33:01 -05:00
Gregory Sanders
9003d46807 f'add blocksigning RPC calls' 2018-11-07 13:32:28 -05:00
Gregory Sanders
450276a42b test compact block rpcs 2018-11-07 13:30:59 -05:00
Gregory Sanders
98527830f7 checkin feature_blocksign.py fixup 2018-11-06 20:52:12 -05:00
Gregory Sanders
7c80bce463 add compact block rpc calls 2018-11-06 20:50:52 -05:00
Gregory Sanders
4d1e511afc fixup rpc mining call 2018-11-06 20:47:35 -05:00
Gregory Sanders
c933511300 add blocksigning RPC calls 2018-11-06 20:46:16 -05:00
Gregory Sanders
a3493276d8 fix zmq test 2018-11-06 13:41:25 -05:00
Gregory Sanders
40c794bb56 more fixes 2018-11-05 17:20:25 -05:00
Gregory Sanders
1ac92155ae fixup 2018-11-05 16:52:38 -05:00
Gregory Sanders
9176ff035f fixup 2018-11-05 16:51:41 -05:00
Gregory Sanders
d35e6153df more fixes 2018-11-05 15:13:39 -05:00
Gregory Sanders
89aeade373 break this up! checkin 2018-10-30 15:46:48 -04:00
Gregory Sanders
07ca9b9177 some more functional test stuff 2018-10-30 09:31:27 -04:00
Gregory Sanders
00965260fe fixup rpc results 2018-10-30 09:31:17 -04:00
Gregory Sanders
e80e88f42c add signblock fields to blockchain RPC results 2018-10-30 09:27:11 -04:00
Gregory Sanders
5f780bb517 add functional tests for signed blockchain 2018-10-29 16:14:31 -04:00
Gregory Sanders
5e33033cdb 'f'Add signblockscript argument to employ signed blocks 2018-10-29 16:00:14 -04:00
Gregory Sanders
cb5571f1e4 Add signblockscript argument to employ signed blocks 2018-10-29 15:51:29 -04:00
Gregory Sanders
d8f9470fe2 Add more blocksigning infrastructure 2018-10-29 15:21:55 -04:00
Gregory Sanders
0108dacf56 Introduce a no sighash byte signature check flag for blocks and other sig modes 2018-10-29 14:39:13 -04:00
Gregory Sanders
cc7cbb6c48 Add non-serialized CProof to block header 2018-10-29 14:12:17 -04:00
Gregory Sanders
6b3a5503b1 Add signblockscript custom chain argument 2018-10-29 13:42:55 -04:00
Gregory Sanders
4640056765 Add CProof structure for signed headers 2018-10-29 13:36:17 -04:00
Gregory Sanders
48e3e957ce
Merge #449: Actually run the bitcoin functional tests with test_runner
e20b836 Actually run the bitcoin functional tests with test_runner (Gregory Sanders)

Pull request description:

  We were just re-running the other tests.

Tree-SHA512: 25d7ffada5fc97f1188cdd906b4c36cdb230ef3ec51e9db4fd199902b675db1e91d6595292ccb0b24a094055c13aae3fe076e0cfc9a09b5d718695f27344f96e
2018-10-26 12:17:41 -04:00
Gregory Sanders
e20b836aeb Actually run the bitcoin functional tests with test_runner 2018-10-26 12:00:55 -04:00
Gregory Sanders
c0d1dbc833
Merge #429: [0.17] Connect gen block tx to db, don't validate gen block
d97920c add functional test for coinbase connection to db (Gregory Sanders)
e532664 allow grabbing genesis transaction(s) when connected (Gregory Sanders)
c7e5549 [#9102] really don't validate genesis block (Gregory Sanders)
ccf40db connect genesis block transaction outputs to coin db (Gregory Sanders)

Pull request description:

  Tests should now be working.

Tree-SHA512: aa2af6637c534d7f9185e969118b52519fe0609ae79fa8f4d5213f939f9a5915f958cf93d02aa6f4a47795c87cc23c93daff3807347cb1b12a426326e6dea60e
2018-10-25 13:39:15 -04:00
Gregory Sanders
d97920caa4 add functional test for coinbase connection to db 2018-10-25 13:21:42 -04:00
Gregory Sanders
e532664298 allow grabbing genesis transaction(s) when connected 2018-10-25 12:51:53 -04:00
Gregory Sanders
c7e5549317 [#9102] really don't validate genesis block 2018-10-25 12:51:53 -04:00
Gregory Sanders
ccf40db968 connect genesis block transaction outputs to coin db 2018-10-25 12:51:53 -04:00
Gregory Sanders
866da4496b
Merge #447: pin flake8 version to avoid breaking compatibilities
77e8fa4 pin flak8 version to avoid breaking compatibilities (Gregory Sanders)

Pull request description:

  This happened upstream too.

Tree-SHA512: a6d05c86e1421c03ac38ee69c4b5ff7174d7c00b0c965fcd6016a9f9b94510e4a68dce162f4bb47a2ba5d624bfc33cc6ae53fc47264d98e117632f0a6a580bed
2018-10-25 12:08:04 -04:00
Gregory Sanders
77e8fa4ac7 pin flak8 version to avoid breaking compatibilities 2018-10-25 11:25:20 -04:00
Gregory Sanders
725e62ad36
Merge #446: Duplicate serializations of consensus objects to use as Bitcoin seria…
5b4aff7 Duplicate serializations of consensus objects to use as Bitcoin serialization (Gregory Sanders)

Pull request description:

  …lization

  This will allow us to break elements serialization in other PRs such as height in block header.

Tree-SHA512: 1c58bb6caeef8d874579abcf536c7ca4541538e85441f51709971b7c7c5ce9e48e0c6dc09626a27aed0f045fbb1fe21c756b1d3986ce75489cf06fecc16eb15b
2018-10-24 15:27:56 -04:00
Gregory Sanders
5b4aff7108 Duplicate serializations of consensus objects to use as Bitcoin serialization 2018-10-24 15:11:19 -04:00
Gregory Sanders
3d274183d2
Merge #445: [0.17] Duplicate bitcoin functional tests
ef039f0 Add travis build that tests bitcoin functional tests (Gregory Sanders)

Pull request description:

  We're going to keep these tests alive as long as possible to increase modularity/QA of the codebase.

Tree-SHA512: c0639422fe518cd9a5f6eb06f24a4c812d38bdde95f37a6787b10ab009e6ee9ff22b30ea8f79e6cf47581bd0d7577fe149f3e636c4c6f0488c9c6555730b8315
2018-10-24 11:00:37 -04:00
Gregory Sanders
e63e500658
Merge #443: [0.17] add block subsidy argument to allow different/non-inflation chains
7bac720 add block subsidy argument to allow different/non-inflation chains (Gregory Sanders)

Pull request description:

  Previously we just set this to 0 and continued, this allows tests to otherwise pass up until this point.

Tree-SHA512: e4e6ae85779a6079ccad38941b4b0dbb3362fa4d902aff5cedbea4641201646f6946cc0d140cb0fdac81c5009ff983baabebcbeeed99f089e44ad492fd6cd1ee
2018-10-24 10:57:48 -04:00
Gregory Sanders
ef039f001b Add travis build that tests bitcoin functional tests 2018-10-23 13:29:57 -04:00
Gregory Sanders
7bac720925 add block subsidy argument to allow different/non-inflation chains 2018-10-23 09:45:16 -04:00
Jorge Timón
146d80ff9d
Merge #441: rename mandatory coinbase test, add it to test_runner list
2d6f137 rename mandatory coinbase test, add it to test_runner list (Gregory Sanders)

Pull request description:

Tree-SHA512: cd35c6360cbc59db480dd4ced1d07699b947ecaede985e331a9ca389af9636e942bea29bbd8d976405f0abc1e3fe8f6fbbaa36ef1d70bdbb9267e19ce61bcfbe
2018-10-22 18:18:46 +02:00
Gregory Sanders
2d6f1374c2 rename mandatory coinbase test, add it to test_runner list 2018-10-22 09:49:07 -04:00
Gregory Sanders
101ec23faa
Merge #430: [0.17] Mandatory coinbase feature
0d20b55 add mandatory coinbase functional test (Gregory Sanders)
edb0532 add consensus.mandatory_coinbase_destination (Gregory Sanders)

Pull request description:

  Includes functional test

Tree-SHA512: e7fdf4584c5a61516778dff272c0f4c9964fee515b705c4fd3ade842954bcc7426bdaf5273a64e4b2472fedc940ead7552c0ec80b4608aac381f91a8f2356d95
2018-10-22 09:22:24 -04:00
Gregory Sanders
0d20b55374 add mandatory coinbase functional test 2018-10-18 15:17:15 -04:00
Gregory Sanders
edb053276b add consensus.mandatory_coinbase_destination 2018-10-18 15:17:15 -04:00
Gregory Sanders
de842cb58f
Merge #432: [0.17] QA: Use resgtest2 chain instead of regtest for rpc tests
a1e0c56 QA: Use resgtest2 chain instead of regtest for rpc tests (Jorge Timón)
4454c52 QA: Adapt BitcoinTestFramework for chains other than "regtest" (Jorge Timón)
a06be15 Testchains: Introduce custom chain whose constructor... (Jorge Timón)
46749eb Testchains: Qt: Simplify network/chain styles and add a default purple (Jorge Timón)
c0c1e38 Testchains: Generic selection with -chain=<str> in addition of -testnet and -regtest (Jorge Timón)
56515c3 9102: Really don't validate genesis block (Gregory Sanders)

Pull request description:

  Backport of https://github.com/bitcoin/bitcoin/pull/8994

  The tests seem to pass with:

  ```
  python3 ./test/functional/test_runner.py -j4 --extended
  ```

  Let's please try to keep all general review things on https://github.com/bitcoin/bitcoin/pull/8994 and elements-specific things here.

  Dependencies:

  - [x] [0.17] Don't edit Chainparams after initialization #427
  - [x] [0.17] Test: Fix example_test.py #434

Tree-SHA512: e216587b6f9d3a462372915e01c8eb3c65a61e4ea29f398e65a7fc03a3ea5676c4711527b5cc2c115893591e7cd5b0ecd2f1fac4faf7ef747a022e2657bc99d4
2018-10-16 14:19:47 -04:00
Jorge Timón
a1e0c56a55
QA: Use resgtest2 chain instead of regtest for rpc tests 2018-10-16 18:32:20 +02:00
Jorge Timón
4454c52ae6
QA: Adapt BitcoinTestFramework for chains other than "regtest" 2018-10-16 18:32:19 +02:00
Jorge Timón
a06be15279
Testchains: Introduce custom chain whose constructor...
...reads params from regular arguments
2018-10-16 18:32:17 +02:00
Jorge Timón
46749eba94
Testchains: Qt: Simplify network/chain styles and add a default purple
...for unkown chains
2018-10-16 18:30:08 +02:00