Jack Grigg
87b7f4d878
torcontrol: Log invalid parameters in Tor reply strings where meaningful
2017-03-26 14:35:13 +13:00
Jack Grigg
3290567bbd
torcontrol: Check for reading errors in ReadBinaryFile
...
This ensures that ReadBinaryFile never returns exactly TOR_COOKIE_SIZE bytes if
the file was larger than that.
2017-03-26 13:53:13 +13:00
Jack Grigg
64101d0407
torcontrol: Fix ParseTorReplyMapping
...
- Ignore remaining input if it is an OptArguments
- Correctly handle escapes
2017-03-26 00:35:13 +13:00
Jack Grigg
6dbd95afa1
torcontrol: Add unit tests for Tor reply parsers
2017-03-26 00:34:53 +13:00
Jack Grigg
8966598033
torcontrol: Improve comments
2017-03-25 20:25:59 +13:00
Jack Grigg
3da13e885e
Fix typo
2017-03-25 17:40:27 +13:00
Jack Grigg
206e2b9737
Wrap error string
2017-03-25 17:39:56 +13:00
Jack Grigg
47855b599d
Revert "Revert "rpc-tests: re-enable rpc-tests for Windows""
...
This reverts commit 7fd5d4e30e .
We need to un-revert this before pulling in
https://github.com/bitcoin/bitcoin/pull/6616
2017-03-25 17:37:18 +13:00
Jack Grigg
601f00f6fb
Add AtomicTimer tests
2017-03-25 13:06:00 +13:00
Jack Grigg
5c0d105b6b
Update LocalSolPS test
2017-03-25 12:57:22 +13:00
Jack Grigg
33589401ba
Require that z_importkey height parameter be in valid range
2017-03-24 16:07:53 +13:00
Jack Grigg
53c96bfa6c
Test boolean fallback in z_importkey
2017-03-24 09:23:11 +13:00
Jack Grigg
a163953929
[depends] libevent 2.1.8
2017-03-24 09:03:59 +13:00
Jack Grigg
077ddc1187
Add libevent to zcash-gtest
2017-03-24 09:03:59 +13:00
Jack Grigg
bec25c91cb
Revert "Closes #1680 , temporary fix for rpc deadlock inherited from upstream."
...
This reverts commit f4404d7b5b .
2017-03-24 09:03:59 +13:00
Jack Grigg
b7e5b7d5ee
Simplify z_importkey by making rescan a string
...
Transparently handles older boolean values as well.
2017-03-23 15:57:11 +13:00
Jack Grigg
493d8d81fb
Expand on reasons for mining being paused
2017-03-23 15:16:04 +13:00
Jack Grigg
af370021a0
Metrics: Improve mining status
2017-03-23 14:08:36 +13:00
Jack Grigg
dd20d04679
Metrics: Move local solution rate into stats
2017-03-23 14:08:33 +13:00
Jack Grigg
07be8f7eb9
Use AtomicTimer for more accurate local solution rate
2017-03-23 14:07:52 +13:00
Jack Grigg
73bf85b44f
Implement an AtomicTimer
2017-03-23 14:07:29 +13:00
Jack Grigg
a31ba7a0cb
Usability improvements for z_importkey
...
- Add height parameter to z_importkey to reduce rescan range
- Change semantics of rescan parameter, so users can explicitly force a rescan
for existing keys.
Closes #2032
2017-03-16 19:34:41 +13:00
Jack Grigg
542a7a40f1
Add tests for getmempoolinfo
2017-03-16 14:30:16 +13:00
Jack Grigg
43a03e3bfc
Migrate IncrementalMerkleTree memory usage calls
2017-03-14 18:01:05 +13:00
Jack Grigg
0bc1e2c431
Add anchor to output of getblock
...
Closes #2164 .
2017-03-10 20:09:40 +13:00
Jack Grigg
14454a3a82
Fix typo in listbanned RPC keys
2017-03-02 13:26:34 -08:00
Jack Grigg
4acd140eeb
Update default RPC port in help strings
2017-03-02 13:26:34 -08:00
Jack Grigg
3c014397a9
BTC -> ZEC in paytxfee RPC docs
...
Revert before merging bitcoin/bitcoin#6504 .
2017-03-02 13:26:34 -08:00
Jack Grigg
25b8f796ff
Re-encode t-addrs in disablewallet.py with Zcash prefixes
2017-03-02 13:26:34 -08:00
Jack Grigg
5329495fe4
Adjust fundrawtransaction RPC test for Zcash
...
- Enable wallet encryption
- Correct block reward
2017-03-02 13:26:34 -08:00
Jack Grigg
0352b37bff
Adjust blockheaderToJSON() for Zcash block header
2017-03-02 13:23:03 -08:00
Jack Grigg
633787060a
Update release process with gen-manpages.sh
2017-03-02 11:18:47 -08:00
Jack Grigg
1f5cc3fa74
Regenerate and collate Zcash manpages, delete Bitcoin ones
2017-03-02 11:18:46 -08:00
Jack Grigg
a0e6d5a185
Adjust gen-manpages.sh for Zcash, use in Debian builds
2017-03-02 11:18:44 -08:00
Jack Grigg
0cd769fbb7
Treat metrics screen as non-interactive for now
...
Closes #2095
2017-02-23 12:55:14 +00:00
Jack Grigg
f42cde3c30
Remove reference to -reindex-chainstate
...
Revert this when bitcoin/bitcoin#7917 is merged.
2017-02-23 12:42:28 +00:00
Jack Grigg
f54db399f2
Get rid of fPlus argument to FormatMoney in Zcash-specific code
2017-02-10 02:19:14 +00:00
Jack Grigg
c24109ecc3
UniValue::getValues const reference
2017-02-10 02:19:12 +00:00
Jack Grigg
2cc6bab201
Update UniValue includes in Zcash-specific code
2017-02-10 02:19:06 +00:00
Jack Grigg
0025fb4b0e
Merge commit 'a4071034f6ad640ef91057fa3f45098c4933f444' as 'src/univalue'
2017-02-10 02:18:46 +00:00
Jack Grigg
a4071034f6
Squashed 'src/univalue/' content from commit 9ef5b78
...
git-subtree-dir: src/univalue
git-subtree-split: 9ef5b78c1998509b8f1ccd76f0aee15140e384be
2017-02-10 02:18:44 +00:00
Jack Grigg
02972a1bcd
[cleanup] Simplify test code
2017-02-10 00:53:15 +00:00
Jack Grigg
873c40365a
[cleanup] Remove unused import
2017-02-10 00:53:14 +00:00
Jack Grigg
cc71666a51
unsigned int -> size_t for comparing with UniValue.size()
2017-02-10 00:53:13 +00:00
Jack Grigg
0821ddb0de
Remove JSON Spirit from contrib/debian/copyright
2017-02-10 00:53:11 +00:00
Jack Grigg
5fb326d41d
Manually iterate over UniValue arrays in tests
2017-02-10 00:53:09 +00:00
Jack Grigg
0d37ae3a59
Migrate Zcash-specific code to UniValue
2017-02-10 00:52:57 +00:00
Jack Grigg
b8eb37757b
Require -experimentalmode for wallet encryption
2017-02-09 22:10:58 +00:00
Jack Grigg
1f015f6afa
Add a flag for enabling experimental features
2017-02-09 22:10:58 +00:00
Jack Grigg
8db0dd93e4
Add test to check for presence of vpub_old & vpub_new in getrawtransaction
2017-02-09 16:38:01 +00:00
Jack Grigg
f49bcdf92b
Add -minetolocalwallet flag, enforced on -mineraddress
2017-02-08 23:37:45 +00:00
Jack Grigg
edcec148a8
Bump suggested ZMQ Debian package to 4.1 series
2017-02-08 22:18:48 +00:00
Jack Grigg
7c8845edda
Clarify that user only needs libzmq if not using depends system
2017-02-08 22:18:17 +00:00
Jack Grigg
602407de95
[depends] ZeroMQ 4.2.1
2017-02-08 22:11:53 +00:00
Jack Grigg
05e6ead8da
Add ZeroMQ license to contrib/debian/copyright
2017-02-08 22:11:53 +00:00
Jack Grigg
4fbc46c2ff
Bitcoin -> Zcash in ZMQ docs
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
Jack Grigg
8b99caa3e6
Add ZMQ libs to zcash-gtest
2017-02-08 22:10:42 +00: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
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
Jack Grigg
9773b95f6e
Coverage build system tweaks
2017-01-18 13:57:05 +01:00
Jack Grigg
9847bc870d
Create empty zcash.conf during coverage checks
...
Fixes regression caused by #2013 .
2017-01-18 12:11:50 +01:00
Jack Grigg
336fa63020
Create empty zcash.conf during performance measurements
2017-01-17 13:19:49 +01:00
Jack Grigg
b50b4d5c38
Generate Debian control file to fix shlibs lint
2017-01-17 01:55:50 +01:00
Jack Grigg
6a62bff3e0
Debian package lint
...
- Tweak description synopsis to make Debian happy
- Put bash completion files in correct directory
- Add a manpage for zcash-fetch-params
2017-01-17 01:55:50 +01:00
Jack Grigg
5ae347827f
Fix gtest ordering broken by #1949
...
Part of #1539
2017-01-16 20:16:29 +01:00
Jack Grigg
24f4e3365b
Show a friendly message explaining why zcashd needs a zcash.conf
2017-01-11 12:55:35 +01:00
Jack Grigg
d87f00c4d5
Throw an error if zcash.conf is missing
...
An empty zcash.conf is sufficient to bypass this error.
2017-01-10 16:33:41 +01:00
Jack Grigg
1c76501909
Rename build-aux/m4/bitcoin_find_bdb48.m4 to remove version
...
Closes #1622 .
2017-01-09 18:54:08 +01:00
Jack Grigg
53e9a6a0e2
Update debug categories
...
Closes #1954 .
2017-01-05 11:56:42 +01:00
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.
2017-01-05 11:38:38 +01:00
Jack Grigg
b6e439b261
Handle newlines in UI messages
2017-01-05 08:38:35 +01:00
Jack Grigg
e698459ec8
Strip out the SECURE flag in metrics UI so message style is detected
2017-01-05 08:19:15 +01:00
Jack Grigg
83561c9cb3
Trigger metrics UI refresh on new messages
2017-01-05 08:18:29 +01:00
Jack Grigg
bddf4079fd
Instruct users to run zcash-fetch-params if network params aren't available
...
Closes #1786 .
2017-01-04 17:58:07 +01:00
Jack Grigg
7e3a20f235
Scan the whole chain whenever a z-key is imported
...
Closes #1941 .
2017-01-04 15:40:35 +01:00
Jack Grigg
8e0fc39097
Exclude test binaries from make install
...
Closes #1943 .
2017-01-03 11:23:21 +01:00
Jack Grigg
d0ce704abe
Add a tool for profiling the creation of JoinSplits
2016-12-17 02:43:43 +13:00
Jack Grigg
6daab5b4fc
Only run wallet tests when wallet is enabled
2016-12-16 10:52:37 +13:00
Jack Grigg
f3e4968626
Only enable getblocktemplate when wallet is enabled
2016-12-16 10:44:04 +13:00
Jack Grigg
611f25b604
Release notes, authors, changelog
2016-12-15 16:47:49 +13:00
Jack Grigg
196df30d72
Update man pages
2016-12-15 16:45:18 +13:00
Jack Grigg
83ce8a4d7c
Update version to 1.0.4
2016-12-15 16:33:09 +13:00
Jack Grigg
5d6e1aa60f
Add total number of commitments to getblockchaininfo
2016-12-15 15:50:26 +13:00
Jack Grigg
41c616214c
Update payment API docs to recommend -rescan for fixing witness errors
2016-12-15 14:30:40 +13:00
Jack Grigg
4082dcb10f
Extend createjoinsplit to benchmark parallel JoinSplits
...
Closes #1940
2016-12-14 15:28:00 +13:00
Jack Grigg
c0ec0e756b
Fix bug in IncrementNoteWitness()
2016-12-13 22:53:52 +13:00
Jack Grigg
78f4e0ef37
Rewrite reindex test to check beyond the max witness cache size
2016-12-13 22:53:29 +13:00
Jack Grigg
0752d1f8c4
Extract block-generation wallet test code into a function
2016-12-13 22:53:11 +13:00
Jack Grigg
35ce717f96
Fix bug in wallet tests
2016-12-13 22:50:57 +13:00