32188 Commits
Author SHA1 Message Date
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
Larry Ruane 0ee4b20a7b fix qa/zcash/full_test_suite.py pathname
underscores instead of hyphens; .py instead of .sh
(did not bother with PR but Eirik reviewed this change)
2018-05-14 16:50:42 -06:00
Jack Grigg f55029e7d1 Correctly serialize Groth16 JSDescription for verifyjoinsplit benchmark 2018-05-14 16:29:02 -06:00
Sean Bowe 34f6ea95dc Adjust tests and benchmarks 2018-05-14 16:29:02 -06:00
Sean Bowe 31989317c9 Update librustzcash again 2018-05-14 16:29:00 -06:00
Sean Bowe b7a6c32178 Integrate Groth16 verification and proving. 2018-05-14 16:26:23 -06:00
Homu dd72b5346e Auto merge of #3264 - sembrestels:patch-1, r=bitcartel
Update Payment API

I included those missing commands to the API reference: `z_exportviewingkey`, `z_importviewingkey`, and `z_listunspent`.

Do you think we should include `z_mergetoaddress`, `z_getpaymentdisclosure`, and `z_validatepaymentdisclosure` too, despite they are experimental?
2018-05-14 11:14:05 -07:00
Alex English 72c5a7d56f Added ability to invoke src/fiat/verus from any cwd. Added executable permission. 2018-05-14 06:58:14 -07:00
jl777 163c740bf9 Merge pull request #665 from jl777/jl777
Jl777
2018-05-14 16:54:48 +03:00
jl777 39c15c681f -GAME for now 2018-05-14 16:53:59 +03:00
Alex English 498542f60a Recommitting fb9ad7b0daa32072a9ef555b8dabf71e501388f2 from Sun May 13 23:34:34 2018 -0700 by MikeTout because I accidentally blew it away fixing a bad merge. 2018-05-14 06:52:57 -07:00