Commit Graph

10062 Commits

Author SHA1 Message Date
Sean Bowe 37cce214a4 ASSERT_TRUE -> ASSERT_FALSE 2016-12-08 23:14:23 -07:00
Jack Grigg 9755eb8292
Add JS to second block to ensure witnesses are incremented 2016-12-09 16:59:40 +13:00
Jack Grigg 88b7f3c28b
Generate JS for trydecryptnotes, make number of addresses a variable 2016-12-09 16:59:39 +13:00
Jack Grigg a513ea90d4
Fix indentation 2016-12-09 16:59:34 +13:00
zkbot 07a728300b Auto merge of #1642 - str4d:add-solver-rate-to-getmininginfo, r=str4d
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
2016-12-09 03:18:23 +00:00
zkbot f848d40c6d Auto merge of #1902 - bitcartel:1901_increase_default_settings_block_priority, r=str4d
Closes #1901. Increase default settings for max block size and space for priority transactions.

ref #1901
2016-12-09 00:33:01 +00:00
zkbot cdbd851417 Auto merge of #1928 - ebfull:fix-anchor-cache-bug, r=str4d
Fix anchor cache bug

Fixes #1912.

If an anchor is removed from the cache, but didn't exist in it beforehand, it will insert a blank tree. If it's reinserted in a child cache, when the child cache flushes it will mark the treestate as entered but won't bring the valid tree with it.

Thankfully, we assert when connecting blocks so that this inconsistency won't cause us to build on a blank tree after a reorg.
2016-12-08 21:22:23 +00:00
Sean Bowe 690171e268 Add more tests for ProofVerifier. 2016-12-08 12:47:41 -07:00
Sean Bowe eb82238dd0 Rename Dummy to Disabled. 2016-12-08 12:32:39 -07:00
zkbot e68e26c208 Auto merge of #1911 - bitcartel:1823_witness_does_not_have_same_anchor_as_change_input, r=str4d
With chained joinsplits, witness anchors for input notes no longer cross block boundaries

Closes #1823
2016-12-08 01:23:40 +00:00
zkbot 4af99fc45d Auto merge of #1909 - str4d:bash-completion, r=str4d
Bash completion

This PR pulls in bitcoin/bitcoin#8289, updates the bash completion files for use with Zcash, and bundles them into the Debian package.
2016-12-08 00:43:41 +00:00
zkbot aa1179b304 Auto merge of #1906 - str4d:1835-solaris-miniupnpc-patches, r=str4d
Apply MiniUPnP patches to enable compilation on Solaris 11

These can be removed after the next MiniUPnP release.

Closes #1835.
2016-12-08 00:04:39 +00:00
zkbot 400c4f04e6 Auto merge of #1878 - str4d:1875-non-tty-metrics-usability, r=str4d
Improve non-TTY metrics usability

Closes #1875.
2016-12-07 23:19:47 +00:00
zkbot c286e03509 Auto merge of #1905 - str4d:1831-build-script-overrides, r=str4d
Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST

Replaces #1839. Closes #1831.
2016-12-07 22:31:56 +00:00
Simon 84e8c5f921 WitnessAnchorData only needs to store one witness per JSOutPoint. 2016-12-07 12:05:29 -08:00
zkbot fa53daca4e Auto merge of #1907 - bitcartel:1903_z_sendmany_fee_parameter, r=ebfull
Closes #1903. Add fee parameter to z_sendmany.
2016-12-07 16:58:26 +00:00
Jack Grigg d85758f5cc
Document behaviour of CWallet::SetBestChain 2016-12-07 19:30:30 +13:00
Sean Bowe 53dc6a41eb Ensure ProofVerifier cannot be accidentally copied. 2016-12-06 18:42:31 -07:00
Sean Bowe ebd9aa11b1 Ensure cache contains valid entry when anchor is popped. 2016-12-06 12:54:56 -07:00
Sean Bowe 08de001a25 Regression test. 2016-12-06 12:54:53 -07:00
Sean Bowe bc59f53722 Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller. 2016-12-05 12:40:06 -07:00
Simon f3c4919027 Increase timeout as laptops on battery power have cpu throttling. 2016-12-05 10:46:12 -08:00
Bitcoin Error Log c2b24ccdb7 Edit for grammar: "block chain"
At this point, I believe it is universally accepted that "blockchain" is one word, and should not be separated into two.
2016-12-04 12:02:39 -05:00
Simon 2d931e905b Fixes #1823. Witness anchors for input notes no longer cross block boundaries. 2016-12-03 00:22:42 -08:00
Jack Grigg 73546e1b81
Add Zcash RPC commands to CLI argument completion 2016-12-02 17:41:37 +13:00
Jack Grigg a01daac728
Always bash-complete the default account 2016-12-02 17:26:57 +13:00
Jack Grigg ca483b4064
Add bash completion files to Debian package 2016-12-02 17:12:38 +13:00
Jack Grigg 58966e96c5
Change function names to not clash with Bitcoin, apply to correct binaries 2016-12-02 17:09:44 +13:00
Christian von Roques c794f6d33b
bash-completion: Adapt for 0.12 and 0.13
* separate completion for bitcoind and bitcoin-cli
 * remove RPC support from bitcoind completion
 * add completion for bitcoin-tx and bitcoin-qt
 * rely on autoloading of completions
2016-12-02 16:52:53 +13:00
zkbot 5a0d9db4e4 Auto merge of #1681 - paragonie-scott:patch-1, r=str4d
Metrics - Don't exclaim unless > 1

"You have validated 0 transactions!" sounds a little less enthusiastic that intended. This uses a period instead.

After patch, it also says "a transaction".
2016-12-01 02:50:55 +00:00
Jack Grigg 1c8d5c4061
Address review comments, tweak strings 2016-12-01 15:34:57 +13:00
Scott ba6fc72bcd
Metrics - Don't exclaim unless > 1
"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".
2016-12-01 15:30:22 +13:00
Jack Grigg bebec25313
Add an upstream miniupnpc patch revision 2016-12-01 12:29:18 +13:00
Simon af53da0225 Closes #1903. Add fee parameter to z_sendmany. 2016-11-30 14:23:35 -08:00
Jack Grigg aefa70f948
Apply miniupnpc patches to enable compilation on Solaris 11
These can be removed after the next MiniUPnP release.

Closes #1835.
2016-12-01 01:12:59 +13:00
Jeffrey Walton b8e72ced23
Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST 2016-12-01 00:47:00 +13:00
Jack Grigg 03f83b9b0d
Write witness caches when writing the best block
For steady-state operation, this reduces the average time between wallet disk
writes from once per block to once per hour.

On -rescan, witness caches are only written out at the end along with the best
block, increasing speed while ensuring that on-disk state is kept consistent.

Witness caches are now never recreated during a -reindex, on the assumption that
the blocks themselves are not changing (the chain is just being reconstructed),
and so the witnesses will remain valid.

Part of #1749.
2016-11-30 14:04:37 +13:00
Simon e2a6161f4a Closes #1901. Increase default settings for the max block size when
mining and the amount of space available for priority transactions.
2016-11-29 10:01:20 -08:00
Simon 520ced1405 Closes #1857. Fixes bug where tx spending only notes had priority of 0. 2016-11-28 22:54:49 -08:00
zkbot c29ab1fbb7 Auto merge of #1865 - bitcartel:master_checkpoint_11000, r=str4d
Add checkpoint at block height 15000
2016-11-29 05:39:27 +00:00
Jack Grigg e2752e1eca
Increase length of metrics divider 2016-11-29 18:17:28 +13:00
Jack Grigg 18f656d2af
Clarify that metrics options are only useful without -daemon and -printtoconsole 2016-11-29 18:11:25 +13:00
lpescher ae31e4563f Update help message to match the #4219 change 2016-11-28 13:28:32 -08:00
lpescher 73280baaf0 Update documentation to match the #4219 change 2016-11-28 13:28:24 -08:00
lpescher 1d2db2765e Make command line option to show all debugging consistent with similar options
Most people expect a value of 1 to enable all for command line arguments.
However to do this for the -debug option you must type "-debug=".
This has been changed to allow "-debug=1" as well as "-debug=" to
enable all debug logging
2016-11-28 13:28:15 -08:00
Simon 2f1238bc51 Add checkpoint at block height 15000 2016-11-23 15:17:51 -08:00
Simon 4e3ac9b015 Fix stale comment referencing upstream block interval 2016-11-18 10:26:20 -08:00
Jack Grigg 0076a80a8a
Document metrics screen options 2016-11-18 16:49:37 +13:00
Jack Grigg 57724029da
Only show metrics by default if stdout is a TTY 2016-11-18 16:37:10 +13:00
Jack Grigg 83ccbf6b89
Add -metricsrefreshtime option 2016-11-18 16:32:21 +13:00