Commit Graph

16599 Commits

Author SHA1 Message Date
Jack Grigg
f52da91139 Test network upgrade logic
Also demonstrates how to specify a network upgrade.
2018-02-04 22:58:39 +00:00
Jack Grigg
b174b7e330 Allow changing network upgrade parameters on regtest
Derived from upstream commit 56c87e92110f05d7452f1e85bf755246ffc77206:
    Allow changing BIP9 parameters on regtest
2018-02-04 22:57:59 +00:00
Jack Grigg
780f526bc9 Network upgrade activation mechanism 2018-02-04 22:57:56 +00:00
jl777
8b6a0cb8be Stupid accounts 2018-02-02 20:59:09 +02:00
Homu
a0a010c85c Auto merge of #2839 - arcalinea:add_deprecation_alert, r=bitcartel
Add getdeprecationinfo RPC method to return deprecation block height

Closes #2828

Returns:
```
{
  "version": xxxxx,                      (numeric) the server version
  "subversion": "/MagicBean:x.y.z[-v]/",     (string) the server subversion string
  "deprecationheight": xxxxx,            (numeric) the deprecation block height
}
```
2018-02-02 10:23:37 -08:00
jl777
2d8bd77a05 Test 2018-02-02 13:44:57 +02:00
jl777
9d83c1ad0f Test 2018-02-02 13:44:30 +02:00
jl777
d1f29a9d00 Test 2018-02-02 13:36:12 +02:00
jl777
170d7b7ac9 Test 2018-02-02 13:30:47 +02:00
jl777
c83c59f97e Fix sendmany 2018-02-02 13:19:15 +02:00
jl777
b92d9db11b Fix typo 2018-02-02 12:53:09 +02:00
Jack Grigg
35d64c1fde Use JoinSplitTestingSetup for Boost sighash tests
Symptom: When running all tests, the test suite passed. But when running the
sighash tests on their own, the test suite segfaulted.

Cause: The sighash tests depend on the proving parameters being accessible, but
BasicTestingSetup doesn't load them.
2018-01-31 15:31:51 +00:00
jl777
3e71f5857f Disable KV functions for KMD 2018-01-30 17:22:45 +04:00
Jay Graber
df46562f26 Make applicable only on mainnet 2018-01-29 12:19:19 -08:00
jl777
6fdd9555a3 PIZZA and BEER, why not 2018-01-29 16:22:47 +04:00
jl777
0a8ac8b037 VOTE chain 2018-01-29 16:12:06 +04:00
jl777
ee8cdf46e4 Merge pull request #512 from DeckerSU/decker-dev
added checkpoints for KMD blockchain. need to be tested.
2018-01-29 11:59:25 +04:00
jl777
f6d8f2cce9 rpcworkqueue=64 2018-01-28 19:58:35 +04:00
jl777
17b77a13b5 Merge pull request #511 from ca333/dev
add native btch bins
2018-01-28 10:06:02 +04:00
ca333
0b7ef28990 add native btch bins 2018-01-28 03:02:05 +01:00
ca333
45bb9b9300 Merge pull request #67 from jl777/dev
dev update
2018-01-28 02:14:42 +01:00
jl777
1cb56d219f Merge pull request #510 from kolobus/dev
-pax
2018-01-27 18:34:06 +04:00
Mihail Fedorov
8a52db13e1 pax 2018-01-27 17:26:42 +03:00
DeckerSU
b3f7ce9b7a added checkpoints for KMD blockchain. need to be tested.
- added method SetCheckpointData for CChainParams.
- as we can't check asset it or not in CMainParams() constructor, because command line arguments don't initialized at that time, we will execute SetCheckpointData in chainparams_commandline later.

changes was tested in komodo-qt wallet, but additional tests wouldn't be superfluous.
2018-01-27 13:28:43 +03:00
jl777
5513bebbf2 Merge pull request #509 from kolobus/dev
So long and thanks for all the pax
2018-01-27 10:46:10 +04:00
Mihail Fedorov
580a1ae0cf VOTE chain 2018-01-27 05:14:24 +03:00
Mihail Fedorov
26e6a849ac So long and thanks for all the pax 2018-01-27 04:47:14 +03:00
Mihail Fedorov
b3b56273c6 So long and thanks for all the pax 2018-01-27 04:46:39 +03:00
jl777
f41277aa91 PIZZA and BEER 2018-01-25 16:54:43 +04:00
Homu
70109a74e9 Auto merge of #2902 - bitcartel:2901_remove_unused_noblks_constants, r=daira
Remove unused NOBLKS_VERSION_{START,END} constants from version.h

Closes #2901. Backport from upstream PR https://github.com/bitcoin/bitcoin/pull/7662.
2018-01-25 04:37:33 -08:00
Pavel Vasin
20bfa355a0 remove unused NOBLKS_VERSION_{START,END} constants 2018-01-23 15:44:35 -08:00
Scott Sadler
63d3e4aab1 add isFulfulled to cryptoconditions 2018-01-23 14:12:43 -03:00
Scott Sadler
6585a02268 cli method to create CC transaction 2018-01-23 14:05:43 -03:00
Homu
a4a020de7b Auto merge of #2217 - str4d:2074-chainparams, r=str4d
Bitcoin 0.12 chainparams cleanups

Cherry-picked from the following upstream PRs:

- bitcoin/bitcoin#6222
- bitcoin/bitcoin#6381
- bitcoin/bitcoin#6473
- bitcoin/bitcoin#6242

Part of #2074.
2018-01-22 15:22:24 -08:00
Homu
b4a20ae5ac Auto merge of #2897 - str4d:2892-zkey-rpc-bugfix, r=str4d
zkey_import_export: Synchronize mempools before mining

Resolves a race condition that caused the RPC test to intermittently fail.

Closes #2892.
2018-01-22 14:11:50 -08:00
Jack Grigg
9e8f1d09ca zkey_import_export: Synchronize mempools before mining
Resolves a race condition that caused the RPC test to intermittently fail.

Closes #2892.
2018-01-22 21:10:57 +00:00
Homu
d11230be73 Auto merge of #2886 - bitcartel:2885_cleanup_node_getutxo, r=str4d
Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.

For #2885. This frees up a service bit.  Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.
2018-01-22 08:38:49 -08:00
Jack Grigg
40ebf08ff8 Add viewing key prefix to regtest parameters 2018-01-22 15:32:52 +00:00
Jack Grigg
ff145dfe32 Add missing namespace for boost::get 2018-01-22 10:30:41 -05:00
Cory Fields
91690d6e84 chainparams: don't use std namespace 2018-01-22 10:30:41 -05:00
Cory Fields
47b71cec5d chainparams: move CCheckpointData into chainparams.h
This unties CChainParams from its dependency on checkpoints. Instead, now it
only depends on the raw checkpoint data.
2018-01-22 10:30:41 -05:00
Daniel Kraft
a97308c5d4 Clean up chainparams some more.
Clean up the code in chainparams a bit more after the recent
refactorings.  In particular, make sure the structure of the "RegTest"
params matches the structure of the other classes.  This makes the code
clearer to read.

Also remove redundant values of the genesis block in always-specified
optional arguments and mark variable/argument as "const".
2018-01-22 10:30:41 -05:00
Jorge Timón
54ab3b3183 Chainparams: CTestNetParams and CRegTestParams extend directly from CChainParams
...instead of CMainParams and CTestNetParams respectively

Do the same for CBaseChainParams.
The inheritance was only reducing readibility in this case
2018-01-22 10:30:41 -05:00
Jorge Timón
90b6ee6ce5 Chainparams: Introduce CreateGenesisBlock() static function 2018-01-22 10:30:41 -05:00
Mark Friedenbach
fe53749dc9 Explicitly set tx.nVersion for the genesis block and mining tests
If/when CTransaction::CURRENT_VERSION is incremented, this will break CChainParams and the miner tests. This fix sets the transaction version explicitly where we depend on the hash value (genesis block, proof of work checks).
2018-01-22 10:30:41 -05:00
jl777
854c233d36 Merge pull request #507 from ca333/dev
333
2018-01-22 10:07:05 +03:00
ca333
da925f7863 333
removed unneeded dependencies
2018-01-22 06:02:44 +01:00
ca333
b78cf0c841 Merge pull request #66 from jl777/dev
dev update
2018-01-22 05:30:50 +01:00
Simon
03a61ed87c Remove redundant service flag NODE_GETUTXO meant for Bitcoin XT.
This frees up a service bit.  Zcash has never used this flag
and upstream Bitcoin Core does not support this flag, although
it did reserve it for compatibility with Bitcoin XT.
2018-01-19 17:22:54 -08:00
Homu
38246ea461 Auto merge of #2873 - bitcartel:2793_dbcache, r=bitcartel
Closes #2793 to improve sync performance by increasing default value of dbcache.
2018-01-19 16:53:21 -08:00