Commit Graph

17214 Commits

Author SHA1 Message Date
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
Simon
d2b77b7afa Add note about dbcache to 1.0.15 release notes.
Adapted from upstream release notes here:
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.14.1.md#utxo-memory-accounting
2018-01-19 16:52:25 -08:00
Simon
334d591377 Add documentation about dbcache.
Adapted from documentation 'Reducing bitcoind memory usage' by @laanwj
https://gist.github.com/laanwj/efe29c7661ce9b6620a7
2018-01-17 16:55:26 -08:00
Homu
fdb59266fb Auto merge of #2848 - str4d:2795-rpc-test-chainValueZat, r=str4d
Check chainValueZat when checking value pool monitoring

Addresses https://github.com/zcash/zcash/pull/2795#discussion_r157343660
2018-01-17 10:17:46 -08:00
Homu
d80ab8ad34 Auto merge of #2845 - str4d:exportdir-completion, r=str4d
Enable Bash completion for -exportdir
2018-01-16 15:30:22 -08:00
Simon
5befbed4bc Fixes #2793. Backport commit f33afd3 to increase dbcache default. 2018-01-15 23:17:34 -08:00
Homu
0ad9255d2a Auto merge of #2858 - sandakersmann:patch-1, r=daira
Changed http:// to https:// on some links

Changed http:// to https:// on some links in code_of_conduct.md
2018-01-14 00:37:05 -08:00
Marius Kjærstad
a3e09f2117 Changed http:// to https:// on some links
Changed http:// to https:// on some links in code_of_conduct.md
2018-01-08 05:13:11 +01:00
jl777
df473cc277 Check for null index in FindFork 2018-01-07 18:06:14 +07:00
Homu
b2a114a8c9 Auto merge of #2771 - syd0:fix-snark-dep-build, r=str4d
Fix libsnark dependency build.

This changes libsnark to build in-place, instead of copying first to
a build directory. Previously, modifications made to the original
sources wouldn't get rebuilt without a 'make clean' because users
would be pointing to the copies.

This closes #2689.
2018-01-04 17:06:33 -08:00
Homu
8dbe11451a Auto merge of #2770 - syd0:remove-some-cruft, r=str4d
Remove OSX and Windows files from Makefile + share directory.

These are stale holdovers from bitcoin.

This closes #2169.
2018-01-04 16:02:27 -08:00
syd
b6a990def0 Remove OSX and Windows files from Makefile + share directory.
These are stale holdovers from bitcoin.

This closes #2169.
2018-01-04 22:50:17 +00:00
Homu
db9f6f0485 Auto merge of #2821 - str4d:2335-scope-ecdsa-constants, r=str4d
Scope the ECDSA constant sizes to CPubKey / CKey classes

Cherry-picked from https://github.com/bitcoin/bitcoin/pull/10657, upstreaming our patches from #2335.
2018-01-04 14:47:50 -08:00
jl777
b91547118a -fiat -shark fiat-cli 2018-01-04 18:45:07 +07:00
jl777
5faab5a65a -SHARK 2018-01-04 18:35:35 +07:00
Homu
1ddecf644f Auto merge of #2849 - str4d:release-v1.0.14, r=str4d
Release v1.0.14
2018-01-03 16:39:43 -08:00
Jack Grigg
6bfa0fb79d make-release.py: Updated release notes and changelog for 1.0.14. 2018-01-03 23:54:16 +01:00
Jack Grigg
d3c1949cf1 make-release.py: Updated manpages for 1.0.14. 2018-01-03 23:54:00 +01:00
Jack Grigg
2091cf23ae make-release.py: Versioning changes for 1.0.14. 2018-01-03 23:44:51 +01:00
Jack Grigg
44e5b42751 Check chainValueZat when checking value pool monitoring 2018-01-03 23:41:53 +01:00
Jay Graber
9d2974ed5b Add getdeprecationinfo rpc call to return current version and deprecation block height. 2018-01-02 11:38:39 -08:00
jl777
6f95f2e584 Merge pull request #504 from jl777/dev
new coins and -SHARK
2018-01-03 01:07:13 +07:00
jl777
ee92f1369d -SHARK 2018-01-03 01:06:03 +07:00
Jack Grigg
2941e075a3 Enable Bash completion for -exportdir 2018-01-02 16:41:41 +01:00
jl777
1132e84500 Test 2018-01-02 14:24:59 +07:00
jl777
f1d6fb9b92 Test 2018-01-02 14:22:50 +07:00
jl777
dfd450dff9 signedmasks for asset chains 2018-01-02 13:23:58 +07:00
jl777
cb84dc08ee Fix 2018-01-01 15:38:26 +07:00
jl777
8bec736c1f AXO, ETOMIC, BTCH 2018-01-01 15:36:45 +07:00
Homu
8912a0647b Auto merge of #2830 - str4d:release-v1.0.14-rc1, r=str4d
Release v1.0.14-rc1
2017-12-22 06:21:17 -08:00
Jack Grigg
5cbf238b96 Update release process 2017-12-22 10:13:40 +00:00
Jack Grigg
ea6ec713ea make-release.py: Updated release notes and changelog for 1.0.14-rc1. 2017-12-22 10:12:41 +00:00
Jack Grigg
f059d52038 make-release.py: Updated manpages for 1.0.14-rc1. 2017-12-22 10:12:30 +00:00
Jack Grigg
275f21ad4b make-release.py: Versioning changes for 1.0.14-rc1. 2017-12-22 09:59:01 +00:00
Homu
12cf9f18c0 Auto merge of #2826 - str4d:pyflakes-warnings, r=str4d
Fix pyflakes warnings in zkey_import_export RPC test
2017-12-21 10:53:32 -08:00
Jack Grigg
5d9cf8ae23 Fix pyflakes warnings in zkey_import_export RPC test 2017-12-21 18:19:42 +00:00