jl777
1b15c32d18
syntax
2018-05-19 16:41:38 +03:00
jl777
a34f39e9b2
Dont overwrite sp->MoM with null
2018-05-19 15:49:34 +03:00
Jonathan "Duke" Leto
db83a2c0c3
Try Hush regtest params
...
This fails with:
$ ./komodod -regtest
Assertion failed: (consensus.hashGenesisBlock == uint256S("0x0379ff1530af893f2f2e61146db6e900dd828dc8254215b9de23df2dba06664f")), function CRegTestParams, file chainparams.cpp, line 540.
Abort trap: 6 (core dumped)
From 1d8c55ecc2
2018-05-19 00:56:25 -07:00
jl777
8d926f6ece
Merge pull request #668 from jl777/jl777
...
Enable zmergetoaddress by default
2018-05-19 08:49:11 +03:00
Michael Toutonghi
b0957788af
add "blocktype": "minted"/"mined" on getblock API
2018-05-18 17:44:05 -07:00
ca333
833115ea41
add DSEC
2018-05-19 02:27:58 +02:00
ca333
7bc9628eb0
Merge pull request #37 from jl777/dev
...
update dev
2018-05-19 02:04:07 +02:00
Scott Sadler
e4f943d86d
cross chain rpc methods
2018-05-18 19:29:33 -03:00
Jack Grigg
8bf890abac
make-release.py: Versioning changes for 1.1.1-rc1.
2018-05-19 09:50:15 +12: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
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
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
Scott Sadler
06c960d2b7
m3 test proven
2018-05-15 22:27:10 -03: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
Michael Toutonghi
3d3a117bde
Fix forking potential at startup
2018-05-15 05:00:00 -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
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
b7a6c32178
Integrate Groth16 verification and proving.
2018-05-14 16:26:23 -06: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