Sean Bowe
b8f737b364
Bump version to 1.0.5.
8 years ago
Simon
bcbde86a87
Add missing header required by std::accumulate
8 years ago
Jack Grigg
9773b95f6e
Coverage build system tweaks
8 years ago
Simon
8aa7937d44
Fixes #1960 : z_getoperationstatus/result now includes operation details.
8 years ago
Jack Grigg
5ae347827f
Fix gtest ordering broken by #1949
Part of #1539
8 years ago
Simon
f32cade8fd
Closes #1957 by adding tx serialization size to listtransactions output.
8 years ago
Simon
9064d73bf8
Fixes #1497 ZCA-009 by restricting data exporting to user defined folder.
Previously the RPC interface allowed z_exportwallet, backupwallet and
dumpwallet to write data to an arbitrary filename. ZCA-009 demonstrates
how this is vulnerable. The resolution is to only allow data to
written when the -exportdir has been configured. Also filenames are
restricted to alphanumeric characters.
8 years ago
Simon
af02114469
Closes #1097 so zcash-cli now displays license info like zcashd.
LicenseInfo is refactored from init.cpp to util.cpp so that the
bitcoin-cli makefile target does not need to be modified.
8 years ago
Simon
2d2f3d1806
Closes #1780 . Result of z_getoperationstatus now sorted by creation time of operation
8 years ago
Jack Grigg
24f4e3365b
Show a friendly message explaining why zcashd needs a zcash.conf
8 years ago
Jack Grigg
d87f00c4d5
Throw an error if zcash.conf is missing
An empty zcash.conf is sufficient to bypass this error.
8 years ago
Wladimir J. van der Laan
e957192c54
rpc: Implement random-cookie based authentication
When no `-rpcpassword` is specified, use a special 'cookie' file for
authentication. This file is generated with random content when the
daemon starts, and deleted when it exits. Read access to this file
controls who can access through RPC. By default this file is stored in
the data directory but it be overriden with `-rpccookiefile`.
This is similar to Tor CookieAuthentication: see
https://www.torproject.org/docs/tor-manual.html.en
Alternative to #6258 . Like that pull, this allows running bitcoind
without any manual configuration. However, daemons should ideally never write to
their configuration files, so I prefer this solution.
9 years ago
Eran Tromer
894a0b3295
CreateJoinSplit: add start_profiling() call
This solves the problem of profiling output displaying nonsensical large time values.
8 years ago
Jack Grigg
53e9a6a0e2
Update debug categories
Closes #1954 .
8 years ago
Jack Grigg
0b0a48c881
Suggest ./zcutil/fetch-params.sh as well
Once we improve the from-source installation docs to use 'make install', we can
revert this commit.
8 years ago
Jack Grigg
b6e439b261
Handle newlines in UI messages
8 years ago
Jack Grigg
e698459ec8
Strip out the SECURE flag in metrics UI so message style is detected
8 years ago
Jack Grigg
83561c9cb3
Trigger metrics UI refresh on new messages
8 years ago
Simon
4c1cd287be
Fixes a bug where the unsigned transaction was logged by z_sendmany
after a successful sign and send, meaning that the logged hash fragment
would be different from the txid logged by "AddToWallet". This issue
occured when sending from transparent addresses, as utxo inputs must be
signed. It did not occur when sending from shielded addresses.
8 years ago
Jack Grigg
bddf4079fd
Instruct users to run zcash-fetch-params if network params aren't available
Closes #1786 .
8 years ago
Jack Grigg
7e3a20f235
Scan the whole chain whenever a z-key is imported
Closes #1941 .
8 years ago
Simon
01f6c5dbee
Fixes #1967 by adding age of note to z_sendmany logging.
8 years ago
Simon
fce7260811
Fixes #1964 to catch general exception in z_sendmany and catch
exceptions as reference-to-const.
8 years ago
Jack Grigg
8e0fc39097
Exclude test binaries from make install
Closes #1943 .
8 years ago
Sean Bowe
fc538ec2ea
Add test for IncrementalMerkleTree::size().
8 years ago
Jack Grigg
d0ce704abe
Add a tool for profiling the creation of JoinSplits
8 years ago
Jack Grigg
6daab5b4fc
Only run wallet tests when wallet is enabled
8 years ago
Jack Grigg
f3e4968626
Only enable getblocktemplate when wallet is enabled
8 years ago
Jack Grigg
83ce8a4d7c
Update version to 1.0.4
8 years ago
Jack Grigg
5d6e1aa60f
Add total number of commitments to getblockchaininfo
8 years ago
Jack Grigg
4082dcb10f
Extend createjoinsplit to benchmark parallel JoinSplits
Closes #1940
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