Daira Hopwood
9bba9b37c8
Better error reporting for the !ENABLE_WALLET && ENABLE_MINING case.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
Jack Grigg
f49bcdf92b
Add -minetolocalwallet flag, enforced on -mineraddress
8 years ago
Daniel Cousens
6550e97224
init: add zmq to debug categories
9 years ago
Daniel Cousens
57c6ef01d9
init: amend ZMQ flag names
9 years ago
João Barbosa
5015d2b27f
Fix ZMQ Notification initialization and shutdown
Moves the call Initialize() from init.cpp to CreateWithArguments() and handles the
return value. Moves the call Shutdown() from init.cpp to destructor.
Changes Initialize() and Shutdown() to protected members.
9 years ago
Jeff Garzik
f200002cf3
Add ZeroMQ support. Notify blocks and transactions via ZeroMQ
Continues Johnathan Corgan's work.
Publishing multipart messages
Bugfix: Add missing zmq header includes
Bugfix: Adjust build system to link ZeroMQ code for Qt binaries
10 years ago
Simon
43b6753782
Update zrpc vs zrpcunsafe logging in z_sendmany operation
7 years ago
Simon
3307124a2b
Add parameter interaction, where zrpcunsafe implies zrpc
7 years ago
Jack Grigg
78ba3472d2
Update help text for mining options
8 years ago
Jack Grigg
8e8b6d701b
Switch miner to P2PKH, add -mineraddress option
Closes #945 and #1955 .
8 years ago
Jack Grigg
2cc0a252ad
Add compile flag to disable compilation of mining code
8 years ago
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