Jonas Schnelli
3ba2e19e2b
[ZMQ] append a message sequence number to every ZMQ notification
2017-02-08 22:11:53 +00:00
Jonas Schnelli
abf8020443
[ZMQ] refactor message string
2017-02-08 22:11:53 +00:00
mrbandrews
d4cca6a320
Fixes ZMQ startup with bad arguments.
2017-02-08 22:11:53 +00:00
Daniel Cousens
63303d025d
zmq: prepend zmq to debug messages
2017-02-08 22:11:53 +00:00
Daniel Cousens
6550e97224
init: add zmq to debug categories
2017-02-08 22:11:53 +00:00
Daniel Cousens
57c6ef01d9
init: amend ZMQ flag names
2017-02-08 22:10:42 +00:00
Jonas Schnelli
6a793d9c27
use CBlockIndex* insted of uint256 for UpdatedBlockTip signal
...
- removes mapBlockIndex find operation
- theoretically allows removing the cs_main lock during zqm notification while introducing a new file position lock
2017-02-08 22:10:42 +00:00
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.
2017-02-08 22:10:42 +00:00
Cory Fields
007148fafa
build: Make use of ZMQ_CFLAGS
2017-02-08 22:10:42 +00:00
Jack Grigg
8b99caa3e6
Add ZMQ libs to zcash-gtest
2017-02-08 22:10:42 +00:00
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
2017-02-08 22:10:42 +00:00
João Barbosa
7e6ec078fa
Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
2017-02-08 22:10:42 +00:00
zkbot
138f19b0ba
Auto merge of #2072 - bitcartel:2060_debug_zrpc_zrpcunsafe, r=bitcartel
...
Closes #2060 by updating zrpc and zrpcunsafe logging
2017-02-08 18:54:47 +00:00
Simon
43b6753782
Update zrpc vs zrpcunsafe logging in z_sendmany operation
2017-02-08 10:50:40 -08:00
zkbot
dff700c1af
Auto merge of #2055 - str4d:1545-note-decryption-error-class, r=daira
...
Use a more specific exception class for note decryption failure
Closes #1545 .
2017-02-08 03:12:37 +00:00
Simon
3307124a2b
Add parameter interaction, where zrpcunsafe implies zrpc
2017-02-06 23:29:07 -08:00
zkbot
499e34fc64
Auto merge of #1706 - paragonie:master, r=bitcartel
...
Use libsodium's CSPRNG instead of OpenSSL's
Closes #1632 .
2017-02-05 18:26:11 +00:00
Simon
ee84f279a9
Update z_sendmany logging
2017-02-01 09:27:44 -08:00
Simon
3110b793f0
Closes #2057 by adding extra zrpcunsafe logging
2017-01-31 22:00:46 -08:00
Jack Grigg
51fde9ea08
Use a more specific exception class for note decryption failure
...
Closes #1545 .
2017-01-31 23:05:19 +01:00
Jack Grigg
475233553b
Fix linking error in CreateJoinSplit
2017-01-23 18:29:22 +01:00
Jack Grigg
bf6a138304
Address review comments
2017-01-23 17:06:54 +01:00
Jack Grigg
207924a1d5
Remove OpenSSL PRNG reseeding
...
Per https://download.libsodium.org/doc/generating_random_data/ reseeding the
default libsodium PRNG is not required.
2017-01-23 17:06:54 +01:00
Jack Grigg
13124da0b6
Update comment
2017-01-23 17:06:54 +01:00
Scott
e5df7ee78e
Update random.h
...
While I'm making an argument for better consistency, I might as well be self-consistent.
2017-01-23 17:06:54 +01:00
Paragon Initiative Enterprises, LLC
3106267575
Use libsodium's CSPRNG instead of OpenSSL's
2017-01-23 17:06:54 +01:00
Sean Bowe
b8f737b364
Bump version to 1.0.5.
2017-01-19 19:21:32 -07:00
zkbot
0edb3c0f16
Auto merge of #1978 - str4d:1941-scan-whole-chain-on-zkey-import, r=ebfull
...
Scan the whole chain whenever a z-key is imported
Closes #1941 .
2017-01-20 00:02:12 +00:00
zkbot
c2c7998c2e
Auto merge of #1979 - str4d:1786-inform-users-to-fetch-params, r=bitcartel
...
Instruct users to run zcash-fetch-params if network params aren't available
Closes #1786 .
2017-01-19 21:47:26 +00:00
zkbot
78674ca79e
Auto merge of #2007 - bitcartel:1097_copyright_notice_and_date, r=bitcartel
...
Closes #1097 so that zcash-cli 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.
2017-01-19 00:56:47 +00:00
zkbot
4458f87138
Auto merge of #2028 - bitcartel:std_numeric_gcc_620_compile_issue, r=ebfull
...
Add missing header
Closes #2027 where gcc 6.2.0 identified that `rpcwallet.cpp` was missing a header file `<numeric>` which is required due to usage of `std::accumulate`.
2017-01-18 19:45:02 +00:00
Simon
bcbde86a87
Add missing header required by std::accumulate
2017-01-18 10:52:37 -08:00
zkbot
63e0e895a5
Auto merge of #2006 - bitcartel:1497_destination_path_validation_when_exporting, r=bitcartel
...
Fixes #1497 ZCA-009 by restricting export to a user defined folder and sanitizing filenames
2017-01-18 18:19:50 +00:00
zkbot
94f427a211
Auto merge of #1999 - str4d:1950-random-cookie-rpc-auth, r=ebfull
...
rpc: Implement random-cookie based authentication
Cherry-picked from bitcoin/bitcoin#6388.
Closes #1950 .
2017-01-18 14:20:25 +00:00
Jack Grigg
9773b95f6e
Coverage build system tweaks
2017-01-18 13:57:05 +01:00
zkbot
4d52160de3
Auto merge of #2001 - bitcartel:1957_add_size_to_listtransactions, r=ebfull
...
Closes #1957 by adding tx serialization size to listtransactions output.
2017-01-18 07:15:35 +00:00
zkbot
3b04df9072
Auto merge of #1982 - str4d:1954-update-debug-categories, r=ebfull
...
Update debug categories
Closes #1954 .
2017-01-18 05:51:20 +00:00
zkbot
f37f0805cc
Auto merge of #1980 - bitcartel:fix_z_sendmany_logging_bug_txid, r=ebfull
...
Fix bug where z_sendmany logged incorrect txid fragment when sending from taddr
Closes #1987 .
2017-01-18 05:10:18 +00:00
zkbot
c583e42e6b
Auto merge of #1977 - bitcartel:1967_z_sendmany_debug_age_of_notes, r=ebfull
...
Fixes #1967 by adding age of note to z_sendmany logging.
2017-01-18 04:29:06 +00:00
zkbot
1e8778a274
Auto merge of #1976 - bitcartel:1964_z_sendmany_exception_handling, r=ebfull
...
Fixes #1964 to catch general exception in z_sendmany and catch exceptions as reference-to-const.
2017-01-18 03:48:12 +00:00
zkbot
acabe0a22d
Auto merge of #1973 - str4d:1943-remove-extraneous-bins-from-dist, r=ebfull
...
Exclude test binaries from make install
Closes #1943 .
2017-01-18 02:26:12 +00:00
zkbot
2a18730417
Auto merge of #1972 - str4d:1950-ensure-messages-are-rendered, r=ebfull
...
Ensure messages are rendered in the metrics UI
Part of #1950 .
2017-01-18 01:45:04 +00:00
zkbot
ee2f1ebb9d
Auto merge of #1942 - str4d:1940-threaded-createjoinsplit, r=ebfull
...
Extend createjoinsplit to benchmark parallel JoinSplits
Closes #1940
2017-01-18 01:04:05 +00:00
zkbot
4169cddd64
Auto merge of #1991 - bitcartel:1960_z_getoperation_include_call_details, r=ebfull
...
Fixes #1960 : z_getoperationstatus/result now includes operation details.
2017-01-17 19:24:07 +00:00
zkbot
9cd91833a5
Auto merge of #2015 - bitcartel:1780_sort_getoperationstatus, r=ebfull
...
Closes #1780 . Result of z_getoperationstatus now sorted by operation's creation time.
2017-01-17 04:06:28 +00:00
Simon
8aa7937d44
Fixes #1960 : z_getoperationstatus/result now includes operation details.
2017-01-16 16:45:27 -08:00
zkbot
6abf7adc14
Auto merge of #2013 - str4d:2002-require-zcash-conf, r=ebfull
...
Require zcash.conf to start zcashd
Closes #2002 .
2017-01-16 23:09:38 +00:00
Jack Grigg
5ae347827f
Fix gtest ordering broken by #1949
...
Part of #1539
2017-01-16 20:16:29 +01:00
Simon
f32cade8fd
Closes #1957 by adding tx serialization size to listtransactions output.
2017-01-16 11:07:16 -08:00
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.
2017-01-16 10:56:06 -08:00