Commit Graph

9947 Commits

Author SHA1 Message Date
cronicc 46ddbc16aa fix zclassic.org link 2016-11-19 23:23:17 +01:00
cronicc 5553e8bbb8 documentation update 1.0.3 2016-11-19 22:21:53 +00:00
cronicc d0050d8257 documentation update 1.0.3 2016-11-19 22:11:20 +00:00
heyrhett f7dadf1f01 Merge pull request #32 from hairetikos/zcash-master-103
Zclassic ASCII art to replace Zcash one.
2016-11-19 14:07:55 -08:00
hairetikos f6dc8ccec2 Zclassic ASCII art to replace Zcash one.
can change it when final logo is decided via vote
2016-11-19 22:02:19 +00:00
heyrhett b42ea8b4e3 Merge pull request #30 from hairetikos/zcash-master-103
FIXES: #28 // removed / edited code to do with the sendalert & key system  (which is to be retired in bitcoin)
2016-11-19 13:19:04 -08:00
hairetikos 5ae1842af5 Add files via upload 2016-11-19 14:52:05 +00:00
hairetikos e55210aa16 Delete alertTests.raw 2016-11-19 14:51:42 +00:00
hairetikos 94835da81d Add files via upload 2016-11-19 14:51:25 +00:00
hairetikos 2d1cc91139 Add files via upload 2016-11-19 14:50:57 +00:00
hairetikos 4d39a67e84 Add files via upload 2016-11-19 14:50:23 +00:00
hairetikos 6ef02eb11a Update alert.h 2016-11-19 14:48:56 +00:00
hairetikos 7a67abe4a9 Update alert.cpp 2016-11-19 14:48:46 +00:00
Rhett Creighton e45883fd3f fix genesis block assert 2016-11-18 19:36:15 -08:00
Rhett Creighton 8d57ab33a6 Merge branch 'master' of git://github.com/zcash/zcash into zcash-master-103
Conflicts:
	README.md
2016-11-18 19:09:04 -08:00
zkbot d4ea4e0e5f 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.
2016-11-18 02:41:47 +00:00
Simon 26fb4db53b 1.0.3 Release 2016-11-17 16:07:09 -08:00
Simon 13e9a639b7 Fix threading issue when initializing public params. 2016-11-17 15:36:26 -07:00
Sean Bowe f398a94766 Anchors and nullifiers should always be inherited from the parent cache. 2016-11-17 11:43:54 -07:00
Simon 27c2ccb880 Partial revert of bd87e8c: file release-notes-1.0.2.md to 343b0d6. 2016-11-16 21:16:29 -08:00
zkbot bd87e8c2d3 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
2016-11-17 00:58:48 +00:00
Jay Graber 3935f9dae6 Release-notes.py script to generate release notes and add contributors to authors.md 2016-11-16 15:27:13 -08:00
zkbot 343b0d6723 Auto merge of #1862 - bitcartel:1854_z_sendmany_transparent_change, r=bitcartel
Closes #1854. z_sendmany selects more utxos to avoid dust change output.
2016-11-16 17:28:48 +00:00
Simon 0afd3687c8 Closes #1854. z_sendmany selects more utxos to avoid dust change output. 2016-11-15 17:12:37 -08:00
zkbot 54218ea05c 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.
2016-11-16 01:06:37 +00:00
zkbot 6661d9da6d Auto merge of #1842 - arcalinea:1573_z_sendmany_error_documentation, r=bitcartel
Document z_sendmany error code messages in payment-api.md
2016-11-15 22:16:30 +00:00
Simon de38bfbbed Track the correct change witness across chained joinsplits 2016-11-15 12:39:16 -08:00
Jay Graber b82084fe44 Change format of z_sendmany error code documentation. 2016-11-15 12:33:12 -08:00
Simon 9ddb6ad028 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.
2016-11-15 11:32:59 -08:00
Sean Bowe 3e2e8b5b42 Add test that `last` and `element` will throw exception when the tree is blank. 2016-11-15 12:17:19 -07:00
Simon ba0625f25d 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.
2016-11-15 10:48:51 -08:00
zkbot 057ab6b4d1 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.
2016-11-15 14:56:22 +00:00
zkbot 4e4ca6d31b Auto merge of #1858 - str4d:1715-wallet-assertion, r=ebfull
Correctly integrate CNoteData::witnessHeight into wallet code

Closes #1715.
2016-11-15 11:16:13 +00:00
zkbot 4e72614fb0 Auto merge of #1847 - bitcartel:1680_rpckeepalive_deadlock, r=ebfull
Closes #1680, temporary fix for rpc deadlock inherited from upstream.
2016-11-15 10:25:24 +00:00
Simon f4404d7b5b Closes #1680, temporary fix for rpc deadlock inherited from upstream. 2016-11-15 00:31:24 -08:00
Jack Grigg a4ef3aa9b5
Clear witnessHeight and nWitnessCacheSize in ClearNoteWitnessCache 2016-11-15 17:53:41 +13:00
Jack Grigg ccfd8aae1d
Add code comments about CNoteData::witnessHeight 2016-11-15 16:42:22 +13:00
Jack Grigg 4a6a48479d
Copy over CNoteData::witnessHeight when updating wallet tx 2016-11-15 14:08:41 +13:00
Jack Grigg 40ef121e6a
Correctly set CNoteData::witnessHeight when decrementing witness caches
Closes #1715
2016-11-15 14:08:35 +13:00
Sean Bowe 78df9f0211 Process verification keys to perform online verification. 2016-11-14 10:24:07 -07:00
Sean Bowe 226a6b3248 Initialize after profiling messages are suppressed. 2016-11-14 10:19:46 -07:00
Sean Bowe d92bea9888 Add tests for witness `element` and tree `last` methods. Strengthen testing by inserting a different commitment into the tree at each step. 2016-11-14 10:13:06 -07:00
zkbot 28d635c8b7 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.
2016-11-13 03:05:30 +00:00
Jay Graber c246c1ea3c Replace bitcoin with zcash in rpcprotocol.cpp 2016-11-11 15:24:36 -08:00
Jay Graber 59ac34e344 s/Bitcoin/Zcash in JSONRPCError 2016-11-11 11:14:18 -08:00
Jay Graber d25e75c512 Document z_sendmany error code messages in payment-api.md 2016-11-10 21:24:43 -08:00
Simon 9384e74c50 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.
2016-11-10 16:57:36 -08:00
zkbot 3a0855e65a Auto merge of #1806 - str4d:1787-enable-tests-flag, r=ebfull
Add --disable-tests flag to zcutils/build.sh

Closes #1787
2016-11-09 17:33:56 +00:00
ayleph 48f9c65b55 Correct spelling error in z_sendmany error output
Change "alllowed" -> "allowed."
2016-11-08 13:13:48 -08:00
Sean Bowe 996fccf267 1.0.2 release. 2016-11-07 19:03:20 -07:00