Jack Grigg
83ce8a4d7c
Update version to 1.0.4
8 years ago
Jack Grigg
c0ec0e756b
Fix bug in IncrementNoteWitness()
8 years ago
Jack Grigg
78f4e0ef37
Rewrite reindex test to check beyond the max witness cache size
8 years ago
Jack Grigg
0752d1f8c4
Extract block-generation wallet test code into a function
8 years ago
Jack Grigg
35ce717f96
Fix bug in wallet tests
8 years ago
Sean Bowe
c4fce3fc81
Check that E' points are actually in G2 by ensuring they are of order r.
8 years ago
Jack Grigg
6f78f4f44c
Only check cache validity for witnesses being incremented or decremented
Fixes the bug resulting from #1904 .
8 years ago
Jack Grigg
9d2cc3a784
Make the test pass by fixing the bug!
8 years ago
Jack Grigg
eeee6d5d6c
Add a reindex test that fails because of a bug in decrementing witness caches
Ref: https://github.com/zcash/zcash/pull/1904#issuecomment-265992988
8 years ago
Jack Grigg
6fb8d0c2d6
Skip JoinSplit verification before the last checkpoint
Part of #1749
8 years ago
Sean Bowe
37cce214a4
ASSERT_TRUE -> ASSERT_FALSE
8 years ago
Jack Grigg
9755eb8292
Add JS to second block to ensure witnesses are incremented
8 years ago
Jack Grigg
88b7f3c28b
Generate JS for trydecryptnotes, make number of addresses a variable
8 years ago
Jack Grigg
a513ea90d4
Fix indentation
8 years ago
Sean Bowe
690171e268
Add more tests for ProofVerifier.
8 years ago
Sean Bowe
eb82238dd0
Rename Dummy to Disabled.
8 years ago
Simon
84e8c5f921
WitnessAnchorData only needs to store one witness per JSOutPoint.
8 years ago
Jack Grigg
d85758f5cc
Document behaviour of CWallet::SetBestChain
8 years ago
Sean Bowe
53dc6a41eb
Ensure ProofVerifier cannot be accidentally copied.
8 years ago
Sean Bowe
ebd9aa11b1
Ensure cache contains valid entry when anchor is popped.
8 years ago
Sean Bowe
08de001a25
Regression test.
8 years ago
Sean Bowe
bc59f53722
Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller.
8 years ago
Simon
2d931e905b
Fixes #1823 . Witness anchors for input notes no longer cross block boundaries.
8 years ago
Jack Grigg
1c8d5c4061
Address review comments, tweak strings
8 years ago
Scott
ba6fc72bcd
Metrics - Don't exclaim unless > 1
"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".
8 years ago
Simon
af53da0225
Closes #1903 . Add fee parameter to z_sendmany.
8 years ago
Jack Grigg
03f83b9b0d
Write witness caches when writing the best block
For steady-state operation, this reduces the average time between wallet disk
writes from once per block to once per hour.
On -rescan, witness caches are only written out at the end along with the best
block, increasing speed while ensuring that on-disk state is kept consistent.
Witness caches are now never recreated during a -reindex, on the assumption that
the blocks themselves are not changing (the chain is just being reconstructed),
and so the witnesses will remain valid.
Part of #1749 .
8 years ago
Simon
e2a6161f4a
Closes #1901 . Increase default settings for the max block size when
mining and the amount of space available for priority transactions.
8 years ago
Simon
520ced1405
Closes #1857 . Fixes bug where tx spending only notes had priority of 0.
8 years ago
Jack Grigg
e2752e1eca
Increase length of metrics divider
8 years ago
Jack Grigg
18f656d2af
Clarify that metrics options are only useful without -daemon and -printtoconsole
8 years ago
lpescher
ae31e4563f
Update help message to match the #4219 change
9 years ago
lpescher
1d2db2765e
Make command line option to show all debugging consistent with similar options
Most people expect a value of 1 to enable all for command line arguments.
However to do this for the -debug option you must type "-debug=".
This has been changed to allow "-debug=1" as well as "-debug=" to
enable all debug logging
9 years ago
Simon
2f1238bc51
Add checkpoint at block height 15000
8 years ago
Simon
4e3ac9b015
Fix stale comment referencing upstream block interval
8 years ago
Jack Grigg
0076a80a8a
Document metrics screen options
8 years ago
Jack Grigg
57724029da
Only show metrics by default if stdout is a TTY
8 years ago
Jack Grigg
83ccbf6b89
Add -metricsrefreshtime option
8 years ago
Jack Grigg
3c02477360
Add -metricsui flag to toggle between persistent screen and rolling metrics
Defaults to true if stdout is a TTY, else false.
8 years ago
Simon
26fb4db53b
1.0.3 Release
8 years ago
Simon
13e9a639b7
Fix threading issue when initializing public params.
8 years ago
Sean Bowe
f398a94766
Anchors and nullifiers should always be inherited from the parent cache.
8 years ago
Jack Grigg
0bb3d40f90
Add benchmark for incrementing note witnesses
8 years ago
Jack Grigg
0fbab55b1b
Add benchmark for attempting decryption of notes
8 years ago
Jack Grigg
000499ae64
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
8 years ago
Simon
0afd3687c8
Closes #1854 . z_sendmany selects more utxos to avoid dust change output.
8 years ago
Simon
de38bfbbed
Track the correct change witness across chained joinsplits
8 years ago
Simon
9ddb6ad028
Mempool will accept tx with joinsplits and the default z_sendmany fee.
Issue #1851 shows that a zaddr->taddr can be rejected from mempools
due to not meeting fee requirements given the size of the transaction.
Fee calculation for joinsplit txs has not yet been agreed upon, so
during this interim period, this patch ensures joinsplit txs using
the default fee are not rejected due to an insufficient fee.
8 years ago
Sean Bowe
3e2e8b5b42
Add test that `last` and `element` will throw exception when the tree is blank.
8 years ago
Simon
ba0625f25d
Set default minrelaytxfee to 1000 zatoshis to match upstream.
A txout will be considered dust when it has a value <546 zatoshis.
Helps to address #1719 .
8 years ago