Commit Graph

23279 Commits

Author SHA1 Message Date
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
David Llop
471a912e02 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 15:37:08 +02:00
Michael Toutonghi
7702587db8 Fix too aggressive check for coinbase amount 2018-05-13 23:34:34 -07:00
Michael Toutonghi
1f722359c1 Verus Proof of Stake Compete with Additional ant-fork protection on block 1 2018-05-13 18:59:06 -07:00
ca333
929732db9b Merge pull request #36 from jl777/master
update master
2018-05-13 15:01:54 +02:00
ca333
c7f4af03c7 Merge pull request #35 from jl777/dev
update dev
2018-05-13 13:54:45 +02:00
jl777
8dcf818ee9 Merge pull request #664 from pbca26/beta
rename zcash to komodo in cli examples
2018-05-12 16:09:01 +03:00
Homu
75546c697a Auto merge of #3234 - str4d:3058-address-polymorphism, r=str4d
Use boost::variant to represent shielded addresses and keys

Part of #3058 and #3059.
2018-05-12 04:06:27 -07:00
pbca26
a7322d7720 rename zcash to komodo in cli examples 2018-05-12 12:51:39 +03:00