Commit Graph

10257 Commits

Author SHA1 Message Date
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
Johnathan Corgan 678b614ab5
zmq: point API link to 4.0 as that is what we are conforming to [Trivial]
Signed-off-by: Johnathan Corgan <johnathan@corganlabs.com>
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
Johnathan Corgan d5f4dc15a9
zmq: update docs to reflect feature is compiled in automatically if possible
Signed-off-by: Johnathan Corgan <johnathan@corganlabs.com>
2017-02-08 22:10:42 +00:00
Johnathan Corgan effe8a5f9d
autotools: move checking for zmq library to common area in configure.ac
* Fixes #6679

* Tested with --disable-zmq
* Tested with and without pkgconfig
* Tested with and without zmq installed

Signed-off-by: Johnathan Corgan <johnathan@corganlabs.com>
2017-02-08 22:10:42 +00:00
paveljanik 1afb84314b
[Trivial] start the help texts with lowercase
Zcash: Also include AC_HELP_STRING -> AS_HELP_STRING (ostensibly from merging
bitcoin/bitcoin#6317 but the change only occurs in the merge commit
ca5e2a18648cdc0f2a756e7d549f509adce25b00, not the PR itself).
2017-02-08 22:10:42 +00:00
Johnathan Corgan 9540b0c61a
zmq: update and cleanup build-unix, release-notes, and zmq docs
Signed-off-by: Johnathan Corgan <johnathan@corganlabs.com>
2017-02-08 22:10:42 +00:00
Johnathan Corgan b197605e08
zmq: require version 4.x or newer of libzmq
Signed-off-by: Johnathan Corgan <johnathan@corganlabs.com>
2017-02-08 22:10:42 +00:00
Cory Fields 5088de4bb8
travis: install a recent libzmq and pyzmq for tests 2017-02-08 22:10:42 +00:00
Jonas Schnelli 5c7f84cf26
[travis] add zmq python module 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
Jonas Schnelli 0388c23a76
depends: fix platform specific packages variable
prefix instead of postfix
2017-02-08 22:10:42 +00:00
Jonas Schnelli da0e7aa1d7
QA: Add ZeroMQ RPC test 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
Cory Fields cce7754eb8
Depends: Add ZeroMQ package 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 904c19dca6 Auto merge of #2069 - bitcartel:2024_document_test_method_field_getoperationstatus, r=bitcartel
Closes #2024 by documenting and testing 'method' field in z_getoperationstatus
2017-02-08 20:52:36 +00:00
Simon 4b7f603813 Alert 1001 2017-02-08 12:21:07 -08:00
Simon 684ae2a730 Alert 1000 2017-02-08 11:57:15 -08: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
Simon aa0ab69a15 Closes #2024 by documenting and testing method field in z_getoperationstatus 2017-02-06 14:53:56 -08:00
Simon 7eccce4e44 Closes #2045 by allowing z_sendmany with 0 fee 2017-02-06 14:14:28 -08:00
Jack Grigg c1de826f10
Correct #ifdef nesting of miner headers and helper functions 2017-02-06 11:55:06 +00:00
Jack Grigg 78ba3472d2
Update help text for mining options 2017-02-06 11:55:05 +00:00
Jack Grigg 8e8b6d701b
Switch miner to P2PKH, add -mineraddress option
Closes #945 and #1955.
2017-02-06 11:54:58 +00: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
zkbot d9bf415d95 Auto merge of #2051 - str4d:2047-openssl-1.1.0d, r=daira
Upgrade OpenSSL to 1.1.0d

Closes #2047
2017-02-03 23:57:06 +00:00
zkbot 59a0b7c060 Auto merge of #2058 - bitcartel:2057_extend_zrpc_unsafe, r=bitcartel
Closes #2057 by adding extra zrpcunsafe logging
2017-02-02 00:31:25 +00:00
Simon a45d2ec79c Update test to verify order of zrpcunsafe log messages 2017-02-01 14:41:35 -08:00
Simon a1477f6fac Add test to verify z_sendmany logging 2017-02-01 11:02:03 -08: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 6d0ab3ee59
Show all JoinSplit components in getrawtransaction and decoderawtransaction
Closes #2030
2017-01-31 21:32:19 +01:00
Jack Grigg 18cc8f45fd
Upgrade OpenSSL to 1.1.0d
Closes #2047
2017-01-31 15:23:56 +01:00
Jack Grigg 2cc0a252ad
Add compile flag to disable compilation of mining code 2017-01-30 21:14:46 +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
zkbot ee6d993561 Auto merge of #2031 - ebfull:1.0.5-release, r=ebfull
1.0.5 release
2017-01-20 03:02:12 +00:00
Sean Bowe 5046d8cd05 Update release notes and Debian package. 2017-01-19 19:25:00 -07: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
Sean Bowe 620c0e2845 Add test for z_importkey rescanning from beginning of chain. 2017-01-19 16:59:29 -07:00