Jack Grigg
207924a1d5
Remove OpenSSL PRNG reseeding
Per https://download.libsodium.org/doc/generating_random_data/ reseeding the
default libsodium PRNG is not required.
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
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
bddf4079fd
Instruct users to run zcash-fetch-params if network params aren't available
Closes #1786 .
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
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
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
000499ae64
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
8 years ago
Simon
f4404d7b5b
Closes #1680 , temporary fix for rpc deadlock inherited from upstream.
8 years ago
Sean Bowe
226a6b3248
Initialize after profiling messages are suppressed.
8 years ago
ITH4Coinomia
df22af008d
Update init.cpp
Reformatted Text
8 years ago
Jack Grigg
d35172fb67
Disable the metrics screen on regtest
8 years ago
Sean Bowe
7662d72bf4
Make more string changes.
8 years ago
Pieter Wuille
bf673640e3
Use std::atomic for fRequestShutdown and fReopenDebugLog
8 years ago
Chirag Davé
7a4e0e0932
fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
This allows access as an atomic variable in the presence
of async interrupts.
See issue #7433 for more details
fixes : #7433
8 years ago
Sean Bowe
27e3f362f0
Zcash zk-SNARK public parameters for 1.0 "Sprout".
8 years ago
Jack Grigg
4ace963c80
Show important console messages on metrics screen
8 years ago
Jack Grigg
a6df7ab567
Add a persistent screen showing basic node metrics
The screen is implemented using ANSI Escape sequences.
Closes #1331
8 years ago
Daira Hopwood
f91bbeedb7
Add help for -equihashsolver= option.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
8 years ago
Sean Bowe
796c7ee52f
Update to `beta2` public parameters, remove `regtest`/`testnet3` parameters
subdirectories.
8 years ago
Jack Grigg
1683b1f58b
Clear note witness caches on reindex
8 years ago
Simon
008fccfa48
Disable option to allow multiple async rpc workers.
8 years ago
Simon
8d08172d0d
Add config option 'rpcasyncthreads' to specify number of async rpc workers. Default is 1.
8 years ago
Simon
805344dcf4
Refactor: replace calls to GetTxid() with GetHash()
8 years ago
Sean Bowe
7ee82c4361
Deallocate the public parameters during Shutdown.
8 years ago
Sean Bowe
393b2b7834
Update proving/verifying keys.
8 years ago
Taylor Hornby
2902ac7ce8
Use libsodium's s < L check, instead checking that libsodium checks that.
8 years ago
Patrick Strateman
0560d671ab
Remove redundant whiteconnections option
9 years ago
Simon
10d2c57c0d
Replace calls to GetHash() with GetTxid() for transaction objects.
Where the caller intends to receive a transaction id and not a double
SHA256 hash.
8 years ago
Sean Bowe
1477fd3f40
Remove the constraint system from the alpha proving key.
8 years ago
Simon
b39e1bdbca
Fixes to integrate sendalert.cpp.
Add sendalert.cpp to build process.
Add alertkeys.h as a placeholder for private keys.
8 years ago
Sean Bowe
f4091941f5
Reorder initialization routines to ensure verifying key log messages appear in debug.log.
8 years ago
aniemerg
dd74e9dd32
Suppress Libsnark Debugging Info
Suppress the Libsnark debugging information displayed on launch
8 years ago
Jack Grigg
3985a40d1f
Change default ports
8 years ago
Jack Grigg
a5150a156e
Set -relaypriority default to false
This enables spending of individual coins during mining slow start.
Closes #904 .
8 years ago
Sean Bowe
1744fec274
Update the zkSNARK parameters.
8 years ago
Sean Bowe
6b5d608899
Update proving key and tests that depend on transaction structure changes
8 years ago
Jack Grigg
c5d080bb83
Add Zcash Developers to CLI copyright notice
8 years ago
Sean Bowe
b8d320df19
Update public zkSNARK parameters for new circuit.
8 years ago
Sean Bowe
2dc3599271
Transplant of libzcash.
8 years ago
Taylor Hornby
aaf6495948
Rename bitcoin.conf and bitcoind.pid to zcash.conf and zcashd.pid in qa/ and src/
8 years ago
Taylor Hornby
9bab3e89a2
Initialize libsodium first.
8 years ago
Sean Bowe
6806256b80
Initialize libsodium and remove openssl headers from util.cpp
8 years ago
Sean Bowe
a633044b25
Reorder proving key and verifying key arguments.
8 years ago
Sean Bowe
8f8c4c6c0c
Lazily load the proving key at time of first pour.
8 years ago
Sean Bowe
9144ea8c2b
Testnet modifications -- just take the parameters from regtest. Also, move loading ZC params to _before_ verification.
9 years ago