diff options
| author | Ross Nicoll <[email protected]> | 2021-03-03 21:22:15 +0000 |
|---|---|---|
| committer | Ross Nicoll <[email protected]> | 2021-05-20 12:02:35 +0100 |
| commit | 3f8289a113ad2fb629c787528c809aa7d5b91610 (patch) | |
| tree | 073b9f822df735b78b18cc1de6b40991f568f07d /test/functional/rpc_misc.py | |
| parent | Update miner confirmation window (diff) | |
| download | discoin-3f8289a113ad2fb629c787528c809aa7d5b91610.tar.xz discoin-3f8289a113ad2fb629c787528c809aa7d5b91610.zip | |
Dogecoin: Update coinbase maturity
* Change coinbase maturity to 240 blocks in most cases, with main/test early chains allowing 30 blocks. I've kept the 240 consistent in regtest to avoid having to redesign a lot of the test cases.
* Disabled mining unit test which require COINBASE_MATURITY worth of pre-calculated blocks, as we'd otherwise be constantly refactoring them.
* Moved functional test which uses the Bitcoin testnet block data as its reference, as it completely breaks as we introduce Dogecoin data.
* Updated standard blockchains for tests from 100/200 to 240/480 as appropriate.
Diffstat (limited to 'test/functional/rpc_misc.py')
| -rwxr-xr-x | test/functional/rpc_misc.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/rpc_misc.py b/test/functional/rpc_misc.py index 0493ceeb6..b30b288ff 100755 --- a/test/functional/rpc_misc.py +++ b/test/functional/rpc_misc.py @@ -73,8 +73,8 @@ class RpcMiscTest(BitcoinTestFramework): assert_equal( node.getindexinfo(), { - "txindex": {"synced": True, "best_block_height": 200}, - "basic block filter index": {"synced": True, "best_block_height": 200} + "txindex": {"synced": True, "best_block_height": 340}, + "basic block filter index": {"synced": True, "best_block_height": 340} } ) @@ -82,7 +82,7 @@ class RpcMiscTest(BitcoinTestFramework): assert_equal( node.getindexinfo("txindex"), { - "txindex": {"synced": True, "best_block_height": 200}, + "txindex": {"synced": True, "best_block_height": 340}, } ) |