Commit Graph

22197 Commits

Author SHA1 Message Date
Scott Sadler
e4f943d86d cross chain rpc methods 2018-05-18 19:29:33 -03:00
Jack Grigg
d03ae3e520 make-release.py: Updated release notes and changelog for 1.1.1-rc1. 2018-05-19 10:16:15 +12:00
Jack Grigg
062afe397b make-release.py: Updated manpages for 1.1.1-rc1. 2018-05-19 10:16:14 +12:00
Jack Grigg
8bf890abac make-release.py: Versioning changes for 1.1.1-rc1. 2018-05-19 09:50:15 +12:00
David Dawes
663b0b466c Turn symbols and debugging on for WIndows build. 2018-05-18 13:14:17 -07:00
Homu
f5802f2c16 Auto merge of #3275 - ebfull:little-endian, r=str4d
Circuit change for endianness

This PR changes the circuit, encodings and parameters to match the encodings specified in the protocol spec. You'll want to `rm ~/.zcash-params/*.params` and run `./zcutil/fetch-params.sh --testnet` to switch to the new parameters for testnet.
2018-05-18 13:03:44 -07:00
Sean Bowe
3577de83aa Change txdb prefixes for sapling and avoid writing unnecessary information. 2018-05-18 13:26:39 -06:00
Sean Bowe
8f5429a13a Update merkle tree and pedersen hash tests to account for new encoding 2018-05-18 13:26:39 -06:00
Sean Bowe
45f1cb440e Update Sapling testnet parameters 2018-05-18 13:26:39 -06:00
Sean Bowe
b9a5a116cd Update librustzcash 2018-05-18 13:26:37 -06:00
jl777
f5446e44b7 Enable zmergetoaddress by default 2018-05-18 16:56:44 +03:00
Michael Toutonghi
cf1e5967ee fix getinfo, cleanup hash 2018-05-18 02:46:21 -07:00
Michael Toutonghi
f6608b5a0d cleanup 2018-05-17 22:58:30 -07:00
Michael Toutonghi
31bbe2343f fix staking UTXO value 2018-05-17 22:20:57 -07:00
Michael Toutonghi
c2923066b2 new CNetworkBlockHeader for robust compat 2018-05-17 00:04:10 -07:00
Michael Toutonghi
e96e4e61aa checking properly typed header transfer 2018-05-16 16:29:39 -07:00
Michael Toutonghi
10a01059e5 Attempt to match types in socket communication to prevent misalinged send/receive 2018-05-16 15:06:10 -07:00
Michael Toutonghi
fbe86cecfa more debugging checks 2018-05-16 14:39:00 -07:00
Homu
386a9b35c0 Auto merge of #3238 - str4d:3199-mempool-sapling-activation, r=str4d
Update mempool_nu_activation RPC test to exercise both Overwinter and Sapling

Closes #3199.
2018-05-16 13:52:40 -07:00
Homu
f62fff80d5 Auto merge of #3255 - str4d:sapling-value-pool, r=ebfull
Track net value entering and exiting the Sapling circuit
2018-05-16 10:46:32 -07:00
Eirik Ogilvie-Wigley
3182b4abc3 Add tests for sapling anchors 2018-05-16 10:31:53 -06:00
Michael Toutonghi
cdcebd3618 more cast 2018-05-16 07:24:19 -07:00
Michael Toutonghi
e5a4e868bf cast 2018-05-16 07:21:28 -07:00
Michael Toutonghi
01ff13ceb7 printf for testing on server 2018-05-16 07:18:54 -07:00
Michael Toutonghi
d942c58d4a revert testing changes back to original 2018-05-16 06:10:45 -07:00
Michael Toutonghi
cc19c3b08d finish testing change 2018-05-16 05:56:54 -07:00
Michael Toutonghi
351bbd2eae more testing 2018-05-16 05:50:57 -07:00
Michael Toutonghi
c132b91a01 More testing for header transfers 2018-05-16 05:29:49 -07:00
Michael Toutonghi
004e332290 Additional tests 2018-05-16 01:59:23 -07:00
Michael Toutonghi
52670b7205 going back to the original type mismatch - still debugging forking issue, checkin to try on other machines 2018-05-16 00:23:55 -07:00
jl777
90416cc3b3 Merge pull request #666 from jl777/jl777
Change notary sig to CRYPTO output
2018-05-16 09:58:42 +03:00
Michael Toutonghi
3da69a3138 Trying to fix the forking issue, which is now clearly a bug in sending and receiving headers. This checkin will enable debugging and may be a fix. 2018-05-15 22:19:07 -07:00
Homu
1063dfdeaa Auto merge of #3271 - ebfull:stable-rust, r=bitcartel
Switch Rust to 1.26 Stable
2018-05-15 21:27:53 -07:00
Scott Sadler
06c960d2b7 m3 test proven 2018-05-15 22:27:10 -03:00
Homu
29a75886c2 Auto merge of #3251 - ebfull:sprout-groth16, r=ebfull
Sprout on Groth16

Depends on https://github.com/zcash/librustzcash/pull/6
2018-05-15 15:48:19 -07:00
Sean Bowe
0dfb1d5e2c Switch Rust to 1.26 Stable. 2018-05-15 16:21:37 -06:00
jl777
221cc791c3 Change notary sig to CRYPTO output 2018-05-15 22:45:16 +03:00
Michael Toutonghi
32430433f3 Fix comparison error 2018-05-15 05:35:57 -07:00
Michael Toutonghi
dfcf8255ef More anti-forking on startup for slow connections 2018-05-15 05:32:09 -07:00
miketout
a6fc5f1bc6 Merge pull request #10 from VerusCoin/dev
Fix forking potential at startup
2018-05-15 05:04:05 -07:00
Michael Toutonghi
3d3a117bde Fix forking potential at startup 2018-05-15 05:00:00 -07:00
miketout
cf165b57b6 Merge pull request #9 from VerusCoin/master
Build instructions update
2018-05-15 04:01:32 -07:00
miketout
9c1aff36a1 Merge pull request #8 from VerusCoin/dev
All changes to veruscoin fork back to miketout/dev branch
2018-05-15 03:58:15 -07:00
Alex Morcos
bbff8631f5 Output line to debug.log when IsInitialBlockDownload latches to false 2018-05-15 22:18:11 +12:00
Gregory Maxwell
f04a90afb2 IsInitialBlockDownload no longer uses header-only timestamps.
This avoids a corner case (mostly visible on testnet) where bogus
 headers can keep nodes in IsInitialBlockDownload.
2018-05-15 22:18:04 +12:00
Gregory Maxwell
e41632c9fb IBD check uses minimumchain work instead of checkpoints.
This introduces a 'minimum chain work' chainparam which is intended
 to be the known amount of work in the chain for the network at the
 time of software release.  If you don't have this much work, you're
 not yet caught up.

This is used instead of the count of blocks test from checkpoints.

This criteria is trivial to keep updated as there is no element of
subjectivity, trust, or position dependence to it. It is also a more
reliable metric of sync status than a block count.
2018-05-15 21:25:19 +12:00
Kaz Wesley
02eedeeb69 IsInitialBlockDownload: usually avoid locking
Optimistically test the latch bool before taking the lock.
For all IsInitialBlockDownload calls after the first to return false,
this avoids the need to lock cs_main.
2018-05-15 21:25:19 +12:00
Wladimir J. van der Laan
29aaf13b0a Make max tip age an option instead of chainparam
After discussion in #7164 I think this is better.

Max tip age was introduced in #5987 to make it possible to run
testnet-in-a-box. But associating this behavior with the testnet chain
is wrong conceptually, as it is not needed in normal usage.
Should aim to make testnet test the software as-is.

Replace it with a (debug) option `-maxtipage`, which can be
specified only in the specific case.
2018-05-15 21:24:58 +12:00
Michael Toutonghi
1fae37f6bf Working proof of stake with new algorithm 2018-05-15 00:54:18 -07:00
Michael Toutonghi
3789cb0885 Merge necessary to resync branch 'dev' after commit of verus bash file with error 2018-05-15 00:50:28 -07:00