Commit Graph

10108 Commits

Author SHA1 Message Date
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
Jack Grigg
c7cb3c13ea [qa] py2: Unfiddle strings into bytes explicitly in ZMQ RPC test
Extracted from bitcoin/bitcoin#7853
commit faa41ee204124da19dcf1e5b8a3aef1e216bf5e6
2017-02-08 22:11:53 +00:00
Jack Grigg
a9445db62f Fix python syntax in ZMQ RPC test
Extracted from bitcoin/bitcoin#7335
commit 7777994846cdb9b9cf69e391a33eeed30393bbcf
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
fanquake
6702d371c5 [depends] zeromq 4.0.7 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
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
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
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
18cc8f45fd Upgrade OpenSSL to 1.1.0d
Closes #2047
2017-01-31 15:23:56 +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