Commit Graph

1172 Commits

Author SHA1 Message Date
Jack Grigg 42b7f328fb
legacy::Script::address
This is the counterpart to legacy::TransparentAddress::script.
2019-10-15 17:32:34 +13:00
Aditya Kulkarni cd1083e086 Implememt sorting for TxIDs 2019-10-14 13:40:08 -07:00
Nikolay Volf 71c6188bf8
Merge pull request #2 from NikVolf/review-fixes
Address offline review
2019-10-11 09:48:06 +03:00
NikVolf acad37924b test updates 2019-10-11 09:14:19 +03:00
NikVolf 481e43689c use NodeData::combine 2019-10-11 09:04:04 +03:00
NikVolf f24ec04340 add is_empty 2019-10-11 09:00:47 +03:00
NikVolf b9bfc07146 style fixes 2019-10-11 08:58:59 +03:00
NikVolf 3082593fcc add intented use of the api 2019-10-11 08:50:44 +03:00
NikVolf 6b7a3dec9c store generated as vec 2019-10-11 08:44:20 +03:00
NikVolf e701687b69 various small fixes 2019-10-11 08:28:50 +03:00
NikVolf 29b8d7a756 serialization roundtrip test 2019-10-11 08:18:36 +03:00
NikVolf cb818ecbe3 serialization sizes notice 2019-10-11 08:04:42 +03:00
NikVolf 9d4412103b more clear leaf_count 2019-10-11 08:00:07 +03:00
NikVolf 84dc3bf73c license notice 2019-10-11 07:58:29 +03:00
str4d 2cd8a7f4d2
Merge pull request #114 from str4d/compact-blocks
CompactBlock parsing and scanning
2019-10-10 08:11:50 +13:00
Jack Grigg 274f860202
Actions: 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-10-09 14:15:07 +13:00
Jack Grigg e9f94119bc
Store witness inside WalletShieldedOutput 2019-10-09 14:12:30 +13:00
Jack Grigg b44653e686
Move cmu and epk parsing onto CompactOutput struct 2019-10-09 14:12:30 +13:00
Jack Grigg 7fa51e38c0
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-10-09 14:12:30 +13:00
Jack Grigg 1e2bc7f65c
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-10-09 14:12:27 +13:00
Jack Grigg 2bbd25b36b
Add prevHash field to CompactBlock
This enables basic verification of chain validity when CompactBlocks are
received without the full header.
2019-10-09 14:11:14 +13:00
Jack Grigg a3b85b8fe6
Compute and store BlockHash inside BlockHeader 2019-10-09 14:11:14 +13:00
Jack Grigg b66ac11775
Update new witnesses with subsequent transactions in the same block 2019-10-09 14:11:14 +13:00
Jack Grigg e746f7b6f9
Add tx index within block to WalletTx struct 2019-10-09 14:11:14 +13:00
Jack Grigg 3b9dfc1e0b
Detect change notes while scanning blocks 2019-10-09 14:11:14 +13:00
Jack Grigg fb9e9bb12f
Check for spent notes while scanning blocks 2019-10-09 14:11:14 +13:00
Jack Grigg 2b71121681
Return the entire note and recipient address when scanning an output 2019-10-09 14:11:14 +13:00
Jack Grigg f899ecfce5
Increment the commitment tree and witnesses while scanning blocks 2019-10-09 14:11:14 +13:00
Jack Grigg 591b1fc28f
Parse compact blocks to find wallet transactions 2019-10-09 14:11:12 +13:00
Jack Grigg af7e263bcc
Build protobufs for compact formats 2019-10-09 14:09:41 +13:00
str4d a57dc7f478
Merge pull request #138 from str4d/release-0.1.0
Release 0.1.0
2019-10-09 11:11:58 +13:00
NikVolf 7844394364 Remove unneeded extern crate 2019-10-08 16:12:14 +03:00
Jack Grigg 98731c8374
librustzcash 0.2.0 2019-10-08 17:43:33 +13:00
Jack Grigg b0ba7fe4d2
zcash_client_backend 0.1.0 2019-10-08 17:43:33 +13:00
Jack Grigg d6bc2fe0af
zcash_proofs 0.1.0 2019-10-08 17:43:33 +13:00
Jack Grigg 8b08528bb0
zcash_primitives 0.1.0 2019-10-08 17:43:33 +13:00
Jack Grigg 25558893ab
bellman 0.2.0 2019-10-08 17:43:33 +13:00
Jack Grigg 68cada53cf
pairing 0.15.0 2019-10-08 17:43:33 +13:00
Jack Grigg aa37783c37
group 0.2.0 2019-10-08 17:43:33 +13:00
Jack Grigg 216f0f62a0
ff 0.5.0 2019-10-08 17:43:33 +13:00
Jack Grigg 80d339848f
Actions: Various CI improvements
- Test against MSRV
- Parallel linting
- Compile benchmarks on nightly
2019-10-08 15:59:40 +13:00
Jack Grigg b872e9fc49
Fix pairing benchmarks
They were broken by #91 but went unnoticed because CI does not compile
the benchmarks, which requires the nightly toolchain.
2019-10-08 15:25:41 +13:00
str4d 39971891d5
Merge pull request #131 from str4d/119-key-encoding-tests
Unit tests for key encodings
2019-10-08 13:48:05 +13:00
str4d 2399d9f3e3
Merge pull request #93 from defuse/qed-it-lrz
Bring in QED-it Tests
2019-10-08 13:47:36 +13:00
str4d 212b6e67d0
Merge pull request #133 from NikVolf/patch-1
Bump Rust to 1.37 on CI
2019-10-08 09:43:18 +13:00
str4d 6de1cb1397
Merge pull request #137 from jimpo/rand_core-version
Specify rand_core >= 0.5.1 for OsRng import.
2019-10-05 16:12:26 -06:00
Jim Posen 93563c3c65 Specify rand_core >= 0.5.1 for OsRng import. 2019-10-05 12:16:10 +02:00
str4d 524055bbb4
Merge pull request #134 from NikVolf/z-rng
Avoid using rand_os crate (fixes warnings)
2019-10-02 17:35:56 -06:00
NikVolf 730d2cbc7e fix outdated example 2019-09-28 12:50:28 +03:00
NikVolf 7476e4ea28 alphabetical order 2019-09-28 12:49:37 +03:00