Wladimir J. van der Laan
ff67da37cd
Simplify RPCclient, adapt json_parse_error test
# Conflicts:
# src/test/rpc_tests.cpp
9 years ago
Jonas Schnelli
c288192b19
fix univalue json parse tests
9 years ago
Jonas Schnelli
b47f3aea36
fix missing univalue types during constructing
9 years ago
Jonas Schnelli
bf3f56025d
fix rpc batching univalue issue
9 years ago
Jonas Schnelli
d014114d67
Remove JSON Spirit wrapper, remove JSON Spirit leftovers
- implement find_value() function for UniValue
- replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper
- remove JSON Spirit sources
9 years ago
Jonas Schnelli
851f58f94e
remove JSON Spirit UniValue wrapper
9 years ago
Jonas Schnelli
565d26737a
fix rpc unit test, plain numbers are not JSON compatible object
UniValues read() does only read valid json.
9 years ago
Jonas Schnelli
9ccfdd9a01
univalue: correct bool support
9 years ago
Jonas Schnelli
49a5df0ef3
univalue: add support for real, fix percision and make it json_spirit compatible
- avoid breaking the API because of different number/percision handling
9 years ago
Jonas Schnelli
23f71dc740
special threatment for null,true,false because they are non valid json
9 years ago
Jonas Schnelli
38fc4b7090
expicit set UniValue type to avoid empty values
9 years ago
Jonas Schnelli
9756b7bd29
extend conversion to UniValue
9 years ago
Jeff Garzik
ed21d5bd4b
Convert tree to using univalue. Eliminate all json_spirit uses.
10 years ago
Jeff Garzik
03912600e8
UniValue: export NullUniValue global constant
10 years ago
Jeff Garzik
ec57cc0ffe
UniValue: prefer .size() to .count(), to harmonize w/ existing tree
10 years ago
zkbot
7d4ced95ed
Auto merge of #2056 - str4d:2035-experimental-mode, r=bitcartel
Add a flag for enabling experimental features
Closes #2035 .
7 years ago
zkbot
d32511c72c
Auto merge of #2054 - str4d:2030-decoderawtransaction-joinsplit-fields, r=bitcartel
Show all JoinSplit components in getrawtransaction and decoderawtransaction
Closes #2030 .
7 years ago
Simon
91270dcfbc
Update test to check for more joinsplit related fields in getrawtransaction
7 years ago
Jack Grigg
b8eb37757b
Require -experimentalmode for wallet encryption
7 years ago
Jack Grigg
1f015f6afa
Add a flag for enabling experimental features
8 years ago
zkbot
263c62cb17
Auto merge of #2077 - ebfull:protover, r=bitcartel
Bump protocol version in release process if necessary.
Closes #2070 .
7 years ago
Sean Bowe
0d317cd522
Bump protocol version in release process if necessary.
7 years ago
zkbot
0c78782662
Auto merge of #1965 - str4d:1955-single-address-mining, r=bitcartel
Switch miner to P2PKH, add -mineraddress option
Closes #945 and #1955 .
7 years ago
zkbot
253c610783
Auto merge of #2050 - str4d:2020-zmq, r=bitcartel
Add ZeroMQ notifications
Cherry-picked from the following upstream PRs:
- bitcoin/bitcoin#6103
- bitcoin/bitcoin#6684
- bitcoin/bitcoin#6686
- bitcoin/bitcoin#6736
- bitcoin/bitcoin#6739
- bitcoin/bitcoin#6743
- bitcoin/bitcoin#6768
- bitcoin/bitcoin#6779
- bitcoin/bitcoin#6810
- bitcoin/bitcoin#6927
- bitcoin/bitcoin#6980 (only upgrading zeromq)
- bitcoin/bitcoin#6680
- bitcoin/bitcoin#7058
- bitcoin/bitcoin#7621
- bitcoin/bitcoin#7335 (only parts affecting `zmq_test.py`)
- bitcoin/bitcoin#7853 (only parts affecting `zmq_test.py`)
- bitcoin/bitcoin#7762
- bitcoin/bitcoin#7993 (only upgrading zeromq)
- bitcoin/bitcoin#8238
- bitcoin/bitcoin#8701
- bitcoin/bitcoin#6685
Closes #2020 .
7 years ago
Daira Hopwood
9bba9b37c8
Better error reporting for the !ENABLE_WALLET && ENABLE_MINING case.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
7 years ago
zkbot
b2e2dccc64
Auto merge of #2068 - bitcartel:2045_sendmany_fee_zero, r=bitcartel
Closes #2045 by allowing z_sendmany with 0 fee
7 years ago
zkbot
80a32b2845
Auto merge of #1863 - str4d:1795-config-flag-disable-miner, r=bitcartel
Add compile flag to disable compilation of mining code
Closes #1795
7 years ago
Jack Grigg
8db0dd93e4
Add test to check for presence of vpub_old & vpub_new in getrawtransaction
7 years ago
Jonas Schnelli
9bbc220641
fix rpc-tests.sh
`${testScripts[@]}` now does split up `testscript --agument` in two elements pushed to the array (`testscript` and `--agument`).
9 years ago
Jack Grigg
f49bcdf92b
Add -minetolocalwallet flag, enforced on -mineraddress
8 years ago
Simon
75bb764bb8
Add test for z_sendmany with fee of 0
7 years ago
Jack Grigg
edcec148a8
Bump suggested ZMQ Debian package to 4.1 series
7 years ago
Jack Grigg
7c8845edda
Clarify that user only needs libzmq if not using depends system
7 years ago
Jack Grigg
602407de95
[depends] ZeroMQ 4.2.1
7 years ago
Jack Grigg
05e6ead8da
Add ZeroMQ license to contrib/debian/copyright
7 years ago
Jack Grigg
4fbc46c2ff
Bitcoin -> Zcash in ZMQ docs
8 years ago
isle2983
5dfea488e4
[copyright] add MIT License copyright header to zmq_sub.py
8 years ago
fanquake
00bcf2230d
[depends] ZeroMQ 4.1.5
8 years ago
fanquake
c3c55e10e8
[depends] ZeroMQ 4.1.4
8 years ago
Jonas Schnelli
3ba2e19e2b
[ZMQ] append a message sequence number to every ZMQ notification
8 years ago
Jonas Schnelli
abf8020443
[ZMQ] refactor message string
8 years ago
Jack Grigg
c7cb3c13ea
[qa] py2: Unfiddle strings into bytes explicitly in ZMQ RPC test
Extracted from bitcoin/bitcoin#7853
commit faa41ee204124da19dcf1e5b8a3aef1e216bf5e6
8 years ago
Jack Grigg
a9445db62f
Fix python syntax in ZMQ RPC test
Extracted from bitcoin/bitcoin#7335
commit 7777994846cdb9b9cf69e391a33eeed30393bbcf
8 years ago
mrbandrews
d4cca6a320
Fixes ZMQ startup with bad arguments.
8 years ago
Daniel Cousens
63303d025d
zmq: prepend zmq to debug messages
9 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
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
9 years ago
fanquake
6702d371c5
[depends] zeromq 4.0.7
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