1254 Commits

Author SHA1 Message Date
NikVolf
d58b33fb78 simplify and optimize get_peaks 2019-09-02 18:18:33 +03:00
NikVolf
4c49f09515 extra quick-checks and fixes for deleting from full root 2019-09-02 18:05:20 +03:00
NikVolf
68983dc0c1 extra tests and notes 2019-09-02 15:28:51 +03:00
NikVolf
fa04929891 refactored append and fixed tests 2019-09-02 15:11:23 +03:00
Jack Grigg
1cbeac9d59 zcash_client_sqlite: Support sending to t-addrs 2019-08-29 17:54:26 +01:00
Jack Grigg
1c60a79ec1 Implement TransparentAddress encoding and decoding 2019-08-29 17:53:51 +01:00
Jack Grigg
601e88c633 Chain validity and reorg handling 2019-08-29 17:53:50 +01:00
Jack Grigg
98db781931 Add mainnet support to zcash_client_sqlite via a feature flag 2019-08-29 17:53:49 +01:00
Jack Grigg
2419c6648c Add security disclaimer to README 2019-08-29 17:53:48 +01:00
Jack Grigg
cfaa0cf067 zcash_client_sqlite::query::get_*_memo_as_utf8() 2019-08-29 17:53:47 +01:00
Jack Grigg
4c1237fa50 zcash_client_sqlite::transact::create_to_address() 2019-08-29 17:53:40 +01:00
Jack Grigg
9a742d25ea zcash_client_sqlite::scan::scan_cached_blocks() 2019-08-29 17:52:42 +01:00
Jack Grigg
68291090c6 zcash_client_sqlite::query::{get_balance, get_verified_balance} 2019-08-29 17:52:41 +01:00
Jack Grigg
0bf1fad0ed zcash_client_sqlite::query::get_address() 2019-08-29 17:52:40 +01:00
Jack Grigg
bee4d6a92b SQLite database structure and initialisation 2019-08-29 17:52:32 +01:00
NikVolf
c05446d2ae add get_peaks method 2019-08-29 19:34:27 +03:00
str4d
0da4921055 Merge pull request #116 from str4d/code-coverage
Add code coverage with cargo-tarpaulin and Codecov
2019-08-29 09:58:19 +01:00
Jack Grigg
c00b65bb78 Extend Travis CI timeout 2019-08-29 01:06:41 +01:00
Jack Grigg
ee9c88ecb0 Exclude slow tests from code coverage 2019-08-28 20:46:23 +01:00
Jack Grigg
f9f17b291f Add code coverage with cargo-tarpaulin and Codecov 2019-08-28 12:26:54 +01:00
str4d
563961e606 Merge pull request #115 from str4d/windows-typo
librustzcash: Fix typo in Windows parameter init; Correctly map sprout_path. Includes a GitHub actions improvement
2019-08-26 13:09:57 +01:00
Jack Grigg
99aef05318 Store witness inside WalletShieldedOutput 2019-08-26 12:41:44 +01:00
Jack Grigg
8cd6666e56 Move cmu and epk parsing onto CompactOutput struct 2019-08-26 12:41:43 +01:00
Jack Grigg
0c7eb84d36 impl FromStr for Memo
Memo::from_str was previously shadowing a built-in trait method.
2019-08-24 00:40:32 +01:00
Jack Grigg
7c1d4d9a5b Log distinct error cases in Equihash verification 2019-08-24 00:40:30 +01:00
Jack Grigg
9016548698 Take self directly in into_* functions 2019-08-24 00:39:55 +01:00
Jack Grigg
fe93f2ff6b Rename into_ -> to_ where &self is used. 2019-08-24 00:39:54 +01:00
Jack Grigg
91541675e2 Address various clippy warnings/errors in zcash_proofs 2019-08-24 00:39:53 +01:00
Jack Grigg
3a8efd9e67 Address various clippy warnings/errors in zcash_primitives 2019-08-24 00:39:49 +01:00
Jack Grigg
d65fe2cda9 Address various clippy warnings/errors in bellman 2019-08-24 00:38:32 +01:00
Jack Grigg
d78c94b2a2 Move Equihash validator into zcash_primitives 2019-08-24 00:37:00 +01:00
str4d
ad33798244 Merge pull request #113 from Eirik0/edition-2018-clean-up
Edition 2018 clean up
2019-08-24 00:34:57 +01:00
NikVolf
e7d67364cc add quickcheck(failing) also failing append 2019-08-23 16:25:34 +03:00
Jack Grigg
ba3705cb5e librustzcash: Correctly map sprout_path 2019-08-23 12:26:19 +01:00
Jack Grigg
5e706d5d84 Actions: Trigger testing workflow on pull_request 2019-08-23 12:13:23 +01:00
Jack Grigg
894421f3b5 librustzcash: Fix typo in Windows parameter init 2019-08-23 12:01:01 +01:00
str4d
4014f08105 Merge pull request #112 from zcash/github-workflow
Add a GitHub Actions workflow
2019-08-23 09:56:36 +01:00
NikVolf
5a479363ff new initializer 2019-08-22 20:35:56 +03:00
str4d
724e822d2d Merge pull request #98 from paracetamolo/optional-sprout-parameters
Make initialization of sprout validation key optional
2019-08-22 16:50:27 +01:00
NikVolf
27337f1bb0 use assert_matches! 2019-08-22 17:43:03 +03:00
NikVolf
bd8eea97b7 add docs/comments and fix bug 2019-08-22 17:36:05 +03:00
Jack Grigg
789e2ff216 Travis CI: Build before formatting check
cargo fmt does not build the code, and running it in a fresh clone of
the codebase will fail because the protobuf code has not been generated.
2019-08-22 15:18:50 +01:00
Jack Grigg
7ad0452c01 Add macOS support to GitHub Actions workflow 2019-08-22 15:10:28 +01:00
NikVolf
3a09eef6b3 some ascii fun 2019-08-22 15:59:18 +03:00
NikVolf
767d73f777 extra asserts 2019-08-22 15:49:43 +03:00
NikVolf
5c6d856714 extra test 2019-08-22 15:47:49 +03:00
Jack Grigg
2bafc688ff Test nullifiers in constant time
Checking for spent notes in a block is still not completely constant
time, due to filtering out negative results of the constant-time
comparison.

Part of #84.
2019-08-22 12:52:01 +01:00
Jack Grigg
2774d2730f Add prevHash field to CompactBlock
This enables basic verification of chain validity when CompactBlocks are
received without the full header.
2019-08-22 12:50:08 +01:00
Jack Grigg
fd87121244 Compute and store BlockHash inside BlockHeader 2019-08-22 12:50:07 +01:00
Jack Grigg
2e038207f0 Update new witnesses with subsequent transactions in the same block 2019-08-22 12:50:06 +01:00