]> Git Repo - VerusCoin.git/log
VerusCoin.git
8 years agoOnly check cache validity for witnesses being incremented or decremented
Jack Grigg [Sat, 10 Dec 2016 01:33:43 +0000 (14:33 +1300)]
Only check cache validity for witnesses being incremented or decremented

Fixes the bug resulting from #1904.

8 years agoAuto merge of #1904 - str4d:1749-write-witness-cache-with-best-block, r=ebfull
zkbot [Fri, 9 Dec 2016 21:11:15 +0000 (21:11 +0000)]
Auto merge of #1904 - str4d:1749-write-witness-cache-with-best-block, r=ebfull

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.

8 years agoMake the test pass by fixing the bug!
Jack Grigg [Fri, 9 Dec 2016 11:56:32 +0000 (00:56 +1300)]
Make the test pass by fixing the bug!

8 years agoAdd a reindex test that fails because of a bug in decrementing witness caches
Jack Grigg [Fri, 9 Dec 2016 11:51:32 +0000 (00:51 +1300)]
Add a reindex test that fails because of a bug in decrementing witness caches

Ref: https://github.com/zcash/zcash/pull/1904#issuecomment-265992988

8 years agoAuto merge of #1930 - arcalinea:revise-release-note-generation, r=str4d
zkbot [Fri, 9 Dec 2016 10:42:33 +0000 (10:42 +0000)]
Auto merge of #1930 - arcalinea:revise-release-note-generation, r=str4d

Gather release notes from previous release to HEAD

Release-notes.py used to depend on release already being tagged--now gathers release notes from previous tagged release up to current HEAD.

8 years agoGather release notes from previous release to HEAD
Jay Graber [Wed, 7 Dec 2016 18:56:09 +0000 (10:56 -0800)]
Gather release notes from previous release to HEAD

Also update release-process.md to replace git shortlog command with
release-notes.py script.

8 years agoAuto merge of #1918 - bitcartel:timeout_cpu_throttling, r=str4d
zkbot [Fri, 9 Dec 2016 09:03:37 +0000 (09:03 +0000)]
Auto merge of #1918 - bitcartel:timeout_cpu_throttling, r=str4d

Increase timeout as laptops on battery power have cpu throttling.

Merge this last as other PRs also update the test file `wallet_protectcoinbase.py`.

8 years agoAuto merge of #1895 - bitcartel:1857_tx_priority, r=str4d
zkbot [Fri, 9 Dec 2016 08:10:21 +0000 (08:10 +0000)]
Auto merge of #1895 - bitcartel:1857_tx_priority, r=str4d

Closes #1857. Fixes bug where a transaction sending from a zaddr would have a priority of zero.

Transactions sent from a zaddr should now be mined sooner as they no longer have a priority of zero

8 years agoAuto merge of #1870 - str4d:1749-benchmark-rescanning, r=str4d
zkbot [Fri, 9 Dec 2016 07:12:22 +0000 (07:12 +0000)]
Auto merge of #1870 - str4d:1749-benchmark-rescanning, r=str4d

Add benchmarks for rescan components

Part of #1749.

8 years agoAuto merge of #1919 - ebfull:abstract-verification, r=str4d
zkbot [Fri, 9 Dec 2016 06:22:53 +0000 (06:22 +0000)]
Auto merge of #1919 - ebfull:abstract-verification, r=str4d

Isolate verification to a ProofVerifier context object that allows verification behavior to be tuned by the caller.

This is an alternative foundation for #1892, i.e., #1892 will have to be changed if this PR is accepted.

I think this is a safer approach because it allows us to isolate verification behavior to a single object. This will come in handy when @arielgabizon finishes the batching code.

8 years agoASSERT_TRUE -> ASSERT_FALSE
Sean Bowe [Fri, 9 Dec 2016 06:14:23 +0000 (23:14 -0700)]
ASSERT_TRUE -> ASSERT_FALSE

8 years agoAdd JS to second block to ensure witnesses are incremented
Jack Grigg [Fri, 9 Dec 2016 03:55:55 +0000 (16:55 +1300)]
Add JS to second block to ensure witnesses are incremented

8 years agoGenerate JS for trydecryptnotes, make number of addresses a variable
Jack Grigg [Fri, 9 Dec 2016 03:55:01 +0000 (16:55 +1300)]
Generate JS for trydecryptnotes, make number of addresses a variable

8 years agoFix indentation
Jack Grigg [Wed, 7 Dec 2016 04:36:48 +0000 (17:36 +1300)]
Fix indentation

8 years agoAuto merge of #1642 - str4d:add-solver-rate-to-getmininginfo, r=str4d
zkbot [Fri, 9 Dec 2016 03:18:23 +0000 (03:18 +0000)]
Auto merge of #1642 - str4d:add-solver-rate-to-getmininginfo, r=str4d

Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo

8 years agoAuto merge of #1902 - bitcartel:1901_increase_default_settings_block_priority, r...
zkbot [Fri, 9 Dec 2016 00:33:01 +0000 (00:33 +0000)]
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

8 years agoAuto merge of #1928 - ebfull:fix-anchor-cache-bug, r=str4d
zkbot [Thu, 8 Dec 2016 21:22:23 +0000 (21:22 +0000)]
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.

8 years agoAdd more tests for ProofVerifier.
Sean Bowe [Thu, 8 Dec 2016 19:47:41 +0000 (12:47 -0700)]
Add more tests for ProofVerifier.

8 years agoRename Dummy to Disabled.
Sean Bowe [Thu, 8 Dec 2016 19:32:39 +0000 (12:32 -0700)]
Rename Dummy to Disabled.

8 years agoAuto merge of #1911 - bitcartel:1823_witness_does_not_have_same_anchor_as_change_inpu...
zkbot [Thu, 8 Dec 2016 01:23:40 +0000 (01:23 +0000)]
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

8 years agoAuto merge of #1909 - str4d:bash-completion, r=str4d
zkbot [Thu, 8 Dec 2016 00:43:41 +0000 (00:43 +0000)]
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.

8 years agoAuto merge of #1906 - str4d:1835-solaris-miniupnpc-patches, r=str4d
zkbot [Thu, 8 Dec 2016 00:04:39 +0000 (00:04 +0000)]
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.

8 years agoAuto merge of #1878 - str4d:1875-non-tty-metrics-usability, r=str4d
zkbot [Wed, 7 Dec 2016 23:19:47 +0000 (23:19 +0000)]
Auto merge of #1878 - str4d:1875-non-tty-metrics-usability, r=str4d

Improve non-TTY metrics usability

Closes #1875.

8 years agoAuto merge of #1905 - str4d:1831-build-script-overrides, r=str4d
zkbot [Wed, 7 Dec 2016 22:31:56 +0000 (22:31 +0000)]
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.

8 years agoWitnessAnchorData only needs to store one witness per JSOutPoint.
Simon [Wed, 7 Dec 2016 20:05:29 +0000 (12:05 -0800)]
WitnessAnchorData only needs to store one witness per JSOutPoint.

8 years agoAuto merge of #1907 - bitcartel:1903_z_sendmany_fee_parameter, r=ebfull
zkbot [Wed, 7 Dec 2016 16:58:26 +0000 (16:58 +0000)]
Auto merge of #1907 - bitcartel:1903_z_sendmany_fee_parameter, r=ebfull

Closes #1903. Add fee parameter to z_sendmany.

8 years agoDocument behaviour of CWallet::SetBestChain
Jack Grigg [Wed, 7 Dec 2016 06:30:30 +0000 (19:30 +1300)]
Document behaviour of CWallet::SetBestChain

8 years agoEnsure ProofVerifier cannot be accidentally copied.
Sean Bowe [Wed, 7 Dec 2016 01:42:31 +0000 (18:42 -0700)]
Ensure ProofVerifier cannot be accidentally copied.

8 years agoEnsure cache contains valid entry when anchor is popped.
Sean Bowe [Mon, 5 Dec 2016 20:42:30 +0000 (13:42 -0700)]
Ensure cache contains valid entry when anchor is popped.

8 years agoRegression test.
Sean Bowe [Mon, 5 Dec 2016 20:41:50 +0000 (13:41 -0700)]
Regression test.

8 years agoIsolate verification to a `ProofVerifier` context object that allows verification...
Sean Bowe [Thu, 24 Nov 2016 07:03:12 +0000 (00:03 -0700)]
Isolate verification to a `ProofVerifier` context object that allows verification behavior to be tuned by the caller.

8 years agoIncrease timeout as laptops on battery power have cpu throttling.
Simon [Mon, 5 Dec 2016 18:46:12 +0000 (10:46 -0800)]
Increase timeout as laptops on battery power have cpu throttling.

8 years agoEdit for grammar: "block chain"
Bitcoin Error Log [Sun, 4 Dec 2016 17:02:39 +0000 (12:02 -0500)]
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.

8 years agoFixes #1823. Witness anchors for input notes no longer cross block boundaries.
Simon [Sat, 3 Dec 2016 08:22:42 +0000 (00:22 -0800)]
Fixes #1823. Witness anchors for input notes no longer cross block boundaries.

8 years agoAdd Zcash RPC commands to CLI argument completion
Jack Grigg [Fri, 2 Dec 2016 04:41:37 +0000 (17:41 +1300)]
Add Zcash RPC commands to CLI argument completion

8 years agoAlways bash-complete the default account
Jack Grigg [Fri, 2 Dec 2016 04:26:57 +0000 (17:26 +1300)]
Always bash-complete the default account

8 years agoAdd bash completion files to Debian package
Jack Grigg [Fri, 2 Dec 2016 04:12:38 +0000 (17:12 +1300)]
Add bash completion files to Debian package

8 years agoChange function names to not clash with Bitcoin, apply to correct binaries
Jack Grigg [Fri, 2 Dec 2016 04:09:44 +0000 (17:09 +1300)]
Change function names to not clash with Bitcoin, apply to correct binaries

8 years agobash-completion: Adapt for 0.12 and 0.13
Christian von Roques [Sun, 26 Jun 2016 20:20:12 +0000 (16:20 -0400)]
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

8 years agoAuto merge of #1681 - paragonie-scott:patch-1, r=str4d
zkbot [Thu, 1 Dec 2016 02:50:55 +0000 (02:50 +0000)]
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".

8 years agoAddress review comments, tweak strings
Jack Grigg [Thu, 1 Dec 2016 02:34:57 +0000 (15:34 +1300)]
Address review comments, tweak strings

8 years agoMetrics - Don't exclaim unless > 1
Scott [Fri, 28 Oct 2016 17:14:13 +0000 (13:14 -0400)]
Metrics - Don't exclaim unless > 1

"You have validated 0 transactions!" sounds a little less enthusiastic that intended. Also, only says "1 transaction".

8 years agoAdd an upstream miniupnpc patch revision
Jack Grigg [Wed, 30 Nov 2016 23:29:18 +0000 (12:29 +1300)]
Add an upstream miniupnpc patch revision

8 years agoCloses #1903. Add fee parameter to z_sendmany.
Simon [Wed, 30 Nov 2016 22:18:29 +0000 (14:18 -0800)]
Closes #1903. Add fee parameter to z_sendmany.

8 years agoApply miniupnpc patches to enable compilation on Solaris 11
Jack Grigg [Wed, 30 Nov 2016 12:12:59 +0000 (01:12 +1300)]
Apply miniupnpc patches to enable compilation on Solaris 11

These can be removed after the next MiniUPnP release.

Closes #1835.

8 years agoAdd porter dev overrides for CC, CXX, MAKE, BUILD, HOST
Jeffrey Walton [Fri, 11 Nov 2016 06:10:53 +0000 (01:10 -0500)]
Add porter dev overrides for CC, CXX, MAKE, BUILD, HOST

8 years agoWrite witness caches when writing the best block
Jack Grigg [Wed, 30 Nov 2016 01:04:37 +0000 (14:04 +1300)]
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.

8 years agoCloses #1901. Increase default settings for the max block size when
Simon [Tue, 29 Nov 2016 18:01:20 +0000 (10:01 -0800)]
Closes #1901. Increase default settings for the max block size when
mining and the amount of space available for priority transactions.

8 years agoCloses #1857. Fixes bug where tx spending only notes had priority of 0.
Simon [Wed, 23 Nov 2016 19:39:01 +0000 (11:39 -0800)]
Closes #1857. Fixes bug where tx spending only notes had priority of 0.

8 years agoAuto merge of #1865 - bitcartel:master_checkpoint_11000, r=str4d
zkbot [Tue, 29 Nov 2016 05:39:27 +0000 (05:39 +0000)]
Auto merge of #1865 - bitcartel:master_checkpoint_11000, r=str4d

Add checkpoint at block height 15000

8 years agoIncrease length of metrics divider
Jack Grigg [Tue, 29 Nov 2016 05:17:28 +0000 (18:17 +1300)]
Increase length of metrics divider

8 years agoClarify that metrics options are only useful without -daemon and -printtoconsole
Jack Grigg [Tue, 29 Nov 2016 05:11:25 +0000 (18:11 +1300)]
Clarify that metrics options are only useful without -daemon and -printtoconsole

8 years agoUpdate help message to match the #4219 change
lpescher [Wed, 20 May 2015 04:35:11 +0000 (22:35 -0600)]
Update help message to match the #4219 change

8 years agoUpdate documentation to match the #4219 change
lpescher [Wed, 20 May 2015 04:29:59 +0000 (22:29 -0600)]
Update documentation to match the #4219 change

8 years agoMake command line option to show all debugging consistent with similar options
lpescher [Wed, 20 May 2015 04:14:35 +0000 (22:14 -0600)]
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

8 years agoAdd checkpoint at block height 15000
Simon [Thu, 17 Nov 2016 00:17:46 +0000 (16:17 -0800)]
Add checkpoint at block height 15000

8 years agoFix stale comment referencing upstream block interval
Simon [Fri, 18 Nov 2016 18:26:20 +0000 (10:26 -0800)]
Fix stale comment referencing upstream block interval

8 years agoDocument metrics screen options
Jack Grigg [Fri, 18 Nov 2016 03:49:37 +0000 (16:49 +1300)]
Document metrics screen options

8 years agoOnly show metrics by default if stdout is a TTY
Jack Grigg [Fri, 18 Nov 2016 03:37:10 +0000 (16:37 +1300)]
Only show metrics by default if stdout is a TTY

8 years agoAdd -metricsrefreshtime option
Jack Grigg [Fri, 18 Nov 2016 03:32:21 +0000 (16:32 +1300)]
Add -metricsrefreshtime option

8 years agoAdd -metricsui flag to toggle between persistent screen and rolling metrics
Jack Grigg [Fri, 18 Nov 2016 03:17:09 +0000 (16:17 +1300)]
Add -metricsui flag to toggle between persistent screen and rolling metrics

Defaults to true if stdout is a TTY, else false.

8 years agoAuto merge of #1848 - arcalinea:replace-bitcoin-in-json-rpc, r=str4d
zkbot [Fri, 18 Nov 2016 02:41:47 +0000 (02:41 +0000)]
Auto merge of #1848 - arcalinea:replace-bitcoin-in-json-rpc, r=str4d

Replace bitcoin with zcash in rpcprotocol.cpp

Not sure if this was intentionally left as bitcoin-json-rpc, but opening a PR for review in case someone wants to ACK and merge.

8 years ago1.0.3 Release
Simon [Thu, 17 Nov 2016 23:59:37 +0000 (15:59 -0800)]
1.0.3 Release

8 years agoFix threading issue when initializing public params.
Simon [Thu, 17 Nov 2016 22:33:51 +0000 (14:33 -0800)]
Fix threading issue when initializing public params.

8 years agoAnchors and nullifiers should always be inherited from the parent cache.
Sean Bowe [Wed, 16 Nov 2016 21:18:24 +0000 (14:18 -0700)]
Anchors and nullifiers should always be inherited from the parent cache.

8 years agoAdd benchmark for incrementing note witnesses
Jack Grigg [Thu, 17 Nov 2016 09:26:46 +0000 (22:26 +1300)]
Add benchmark for incrementing note witnesses

8 years agoAdd benchmark for attempting decryption of notes
Jack Grigg [Thu, 17 Nov 2016 06:09:45 +0000 (19:09 +1300)]
Add benchmark for attempting decryption of notes

8 years agoPartial revert of bd87e8c: file release-notes-1.0.2.md to 343b0d6.
Simon [Thu, 17 Nov 2016 05:16:29 +0000 (21:16 -0800)]
Partial revert of bd87e8c: file release-notes-1.0.2.md to 343b0d6.

8 years agoAuto merge of #1859 - arcalinea:1783_document_contributors, r=ebfull
zkbot [Thu, 17 Nov 2016 00:58:48 +0000 (00:58 +0000)]
Auto merge of #1859 - arcalinea:1783_document_contributors, r=ebfull

Document contributors to zcash

Release-notes.py generates release notes from git shortlog command when release version number is specified, and adds contributors to authors.md file. Can change the way this script works or where contributors are documented.

@nathan-at-least

8 years agoRelease-notes.py script to generate release notes and add contributors to authors.md
Jay Graber [Tue, 15 Nov 2016 03:32:12 +0000 (19:32 -0800)]
Release-notes.py script to generate release notes and add contributors to authors.md

8 years agoAuto merge of #1862 - bitcartel:1854_z_sendmany_transparent_change, r=bitcartel
zkbot [Wed, 16 Nov 2016 17:28:48 +0000 (17:28 +0000)]
Auto merge of #1862 - bitcartel:1854_z_sendmany_transparent_change, r=bitcartel

Closes #1854. z_sendmany selects more utxos to avoid dust change output.

8 years agoAdd getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo
Jack Grigg [Tue, 25 Oct 2016 20:11:41 +0000 (13:11 -0700)]
Add getlocalsolps and getnetworksolps RPC calls, show them in getmininginfo

8 years agoCloses #1854. z_sendmany selects more utxos to avoid dust change output.
Simon [Wed, 16 Nov 2016 00:55:25 +0000 (16:55 -0800)]
Closes #1854. z_sendmany selects more utxos to avoid dust change output.

8 years agoAuto merge of #1797 - ebfull:improve-joinsplit-diagnostics, r=bitcartel
zkbot [Wed, 16 Nov 2016 01:06:37 +0000 (01:06 +0000)]
Auto merge of #1797 - ebfull:improve-joinsplit-diagnostics, r=bitcartel

Improve joinsplit diagnostics

I don't advocate merging this for the hotfix release (to fix #1779) but this PR can be used to diagnose the real issue and should be merged ASAP afterward.

~I still need to add tests for `last()` and `element()` though.~ Done.

8 years agoAuto merge of #1842 - arcalinea:1573_z_sendmany_error_documentation, r=bitcartel
zkbot [Tue, 15 Nov 2016 22:16:30 +0000 (22:16 +0000)]
Auto merge of #1842 - arcalinea:1573_z_sendmany_error_documentation, r=bitcartel

Document z_sendmany error code messages in payment-api.md

8 years agoTrack the correct change witness across chained joinsplits
Simon [Mon, 7 Nov 2016 18:29:28 +0000 (10:29 -0800)]
Track the correct change witness across chained joinsplits

8 years agoChange format of z_sendmany error code documentation.
Jay Graber [Tue, 15 Nov 2016 19:49:32 +0000 (11:49 -0800)]
Change format of z_sendmany error code documentation.

8 years agoMempool will accept tx with joinsplits and the default z_sendmany fee.
Simon [Mon, 14 Nov 2016 19:48:55 +0000 (11:48 -0800)]
Mempool will accept tx with joinsplits and the default z_sendmany fee.

Issue #1851 shows that a zaddr->taddr can be rejected from mempools
due to not meeting fee requirements given the size of the transaction.
Fee calculation for joinsplit txs has not yet been agreed upon, so
during this interim period, this patch ensures  joinsplit txs using
the default fee are not rejected due to an insufficient fee.

8 years agoAdd test that `last` and `element` will throw exception when the tree is blank.
Sean Bowe [Tue, 15 Nov 2016 19:17:19 +0000 (12:17 -0700)]
Add test that `last` and `element` will throw exception when the tree is blank.

8 years agoSet default minrelaytxfee to 1000 zatoshis to match upstream.
Simon [Mon, 14 Nov 2016 04:38:24 +0000 (20:38 -0800)]
Set default minrelaytxfee to 1000 zatoshis to match upstream.

A txout will be considered dust when it has a value <546 zatoshis.
Helps to address #1719.

8 years agoAuto merge of #1760 - ebfull:vk-preprocess, r=bitcartel
zkbot [Tue, 15 Nov 2016 14:56:22 +0000 (14:56 +0000)]
Auto merge of #1760 - ebfull:vk-preprocess, r=bitcartel

Process verification keys to perform online verification

Checking proofs involves some arithmetic with pairings using components of the proof and the verification key. If you already have some curve points, like those in the verification key, you can amortize the cost of some of the more expensive arithmetic.

This PR adopts libsnark's precomputation of G2 elements in the verification key.

We *currently* call `r1cs_ppzksnark_verifier_strong_IC`:

```c++
template<typename ppT>
bool r1cs_ppzksnark_verifier_strong_IC(const r1cs_ppzksnark_verification_key<ppT> &vk,
                                       const r1cs_ppzksnark_primary_input<ppT> &primary_input,
                                       const r1cs_ppzksnark_proof<ppT> &proof)
{
    enter_block("Call to r1cs_ppzksnark_verifier_strong_IC");
    r1cs_ppzksnark_processed_verification_key<ppT> pvk = r1cs_ppzksnark_verifier_process_vk<ppT>(vk);
    bool result = r1cs_ppzksnark_online_verifier_strong_IC<ppT>(pvk, primary_input, proof);
    leave_block("Call to r1cs_ppzksnark_verifier_strong_IC");
    return result;
}
```

Notice that this merely performs precomputation of the verification key, and then calls `r1cs_ppzksnark_online_verifier_strong_IC`. This PR merely performs the precomputation during verification key initialization, and calls that function directly.

8 years agoAuto merge of #1858 - str4d:1715-wallet-assertion, r=ebfull
zkbot [Tue, 15 Nov 2016 11:16:13 +0000 (11:16 +0000)]
Auto merge of #1858 - str4d:1715-wallet-assertion, r=ebfull

Correctly integrate CNoteData::witnessHeight into wallet code

Closes #1715.

8 years agoAuto merge of #1847 - bitcartel:1680_rpckeepalive_deadlock, r=ebfull
zkbot [Tue, 15 Nov 2016 10:25:24 +0000 (10:25 +0000)]
Auto merge of #1847 - bitcartel:1680_rpckeepalive_deadlock, r=ebfull

Closes #1680, temporary fix for rpc deadlock inherited from upstream.

8 years agoCloses #1680, temporary fix for rpc deadlock inherited from upstream.
Simon [Fri, 11 Nov 2016 22:39:28 +0000 (14:39 -0800)]
Closes #1680, temporary fix for rpc deadlock inherited from upstream.

8 years agoClear witnessHeight and nWitnessCacheSize in ClearNoteWitnessCache
Jack Grigg [Tue, 15 Nov 2016 04:53:41 +0000 (17:53 +1300)]
Clear witnessHeight and nWitnessCacheSize in ClearNoteWitnessCache

8 years agoAdd code comments about CNoteData::witnessHeight
Jack Grigg [Tue, 15 Nov 2016 03:42:22 +0000 (16:42 +1300)]
Add code comments about CNoteData::witnessHeight

8 years agoCopy over CNoteData::witnessHeight when updating wallet tx
Jack Grigg [Tue, 15 Nov 2016 01:05:05 +0000 (14:05 +1300)]
Copy over CNoteData::witnessHeight when updating wallet tx

8 years agoCorrectly set CNoteData::witnessHeight when decrementing witness caches
Jack Grigg [Tue, 15 Nov 2016 01:03:37 +0000 (14:03 +1300)]
Correctly set CNoteData::witnessHeight when decrementing witness caches

Closes #1715

8 years agoProcess verification keys to perform online verification.
Sean Bowe [Wed, 2 Nov 2016 18:40:23 +0000 (12:40 -0600)]
Process verification keys to perform online verification.

8 years agoInitialize after profiling messages are suppressed.
Sean Bowe [Wed, 2 Nov 2016 18:03:41 +0000 (12:03 -0600)]
Initialize after profiling messages are suppressed.

8 years agoAdd tests for witness `element` and tree `last` methods. Strengthen testing by insert...
Sean Bowe [Mon, 14 Nov 2016 17:13:06 +0000 (10:13 -0700)]
Add tests for witness `element` and tree `last` methods. Strengthen testing by inserting a different commitment into the tree at each step.

8 years agoAuto merge of #1838 - bitcartel:1833_z_sendmany_error_message_formatting, r=ebfull
zkbot [Sun, 13 Nov 2016 03:05:30 +0000 (03:05 +0000)]
Auto merge of #1838 - bitcartel:1833_z_sendmany_error_message_formatting, r=ebfull

Closes #1833.  Format currency amounts in z_sendmany error message.

Improve coverage of possible error states from z_sendmany.
Refactor qa test for z_sendmany operations.

8 years agoReplace bitcoin with zcash in rpcprotocol.cpp
Jay Graber [Fri, 11 Nov 2016 23:24:36 +0000 (15:24 -0800)]
Replace bitcoin with zcash in rpcprotocol.cpp

8 years agos/Bitcoin/Zcash in JSONRPCError
Jay Graber [Fri, 11 Nov 2016 19:14:18 +0000 (11:14 -0800)]
s/Bitcoin/Zcash in JSONRPCError

8 years agoDocument z_sendmany error code messages in payment-api.md
Jay Graber [Fri, 11 Nov 2016 02:34:45 +0000 (18:34 -0800)]
Document z_sendmany error code messages in payment-api.md

8 years agoCloses #1833. Format currency amounts in z_sendmany error message.
Simon [Fri, 11 Nov 2016 00:57:36 +0000 (16:57 -0800)]
Closes #1833.  Format currency amounts in z_sendmany error message.

Improve coverage of possible error states from z_sendmany.
Refactor qa test for z_sendmany operations.

8 years agoAuto merge of #1806 - str4d:1787-enable-tests-flag, r=ebfull
zkbot [Wed, 9 Nov 2016 17:33:56 +0000 (17:33 +0000)]
Auto merge of #1806 - str4d:1787-enable-tests-flag, r=ebfull

Add --disable-tests flag to zcutils/build.sh

Closes #1787

8 years agoCorrect spelling error in z_sendmany error output
ayleph [Tue, 8 Nov 2016 21:13:48 +0000 (13:13 -0800)]
Correct spelling error in z_sendmany error output

Change "alllowed" -> "allowed."

8 years ago1.0.2 release.
Sean Bowe [Tue, 8 Nov 2016 02:03:20 +0000 (19:03 -0700)]
1.0.2 release.

8 years agoAdd transaction size and zaddr output limit checks to z_sendmany.
Simon [Sun, 6 Nov 2016 21:08:07 +0000 (13:08 -0800)]
Add transaction size and zaddr output limit checks to z_sendmany.

This page took 0.066792 seconds and 4 git commands to generate.