Jack Grigg
7fda177da8
Doc link fixes
5 years ago
Jack Grigg
bc35a62e10
Remove rand_os dependency
5 years ago
Jack Grigg
ac4acfa26e
Fix rand_os warning in tests
5 years ago
Aditya Kulkarni
4d290e7a32
Add regtest constants
5 years ago
Jack Grigg
e9f94119bc
Store witness inside WalletShieldedOutput
5 years ago
Jack Grigg
b44653e686
Move cmu and epk parsing onto CompactOutput struct
5 years ago
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 .
5 years ago
Jack Grigg
2bbd25b36b
Add prevHash field to CompactBlock
...
This enables basic verification of chain validity when CompactBlocks are
received without the full header.
5 years ago
Jack Grigg
b66ac11775
Update new witnesses with subsequent transactions in the same block
5 years ago
Jack Grigg
e746f7b6f9
Add tx index within block to WalletTx struct
5 years ago
Jack Grigg
3b9dfc1e0b
Detect change notes while scanning blocks
5 years ago
Jack Grigg
fb9e9bb12f
Check for spent notes while scanning blocks
5 years ago
Jack Grigg
2b71121681
Return the entire note and recipient address when scanning an output
5 years ago
Jack Grigg
f899ecfce5
Increment the commitment tree and witnesses while scanning blocks
5 years ago
Jack Grigg
591b1fc28f
Parse compact blocks to find wallet transactions
5 years ago
Jack Grigg
af7e263bcc
Build protobufs for compact formats
5 years ago
Jack Grigg
b0ba7fe4d2
zcash_client_backend 0.1.0
5 years ago
Jack Grigg
e7b5329e95
Unit tests for key encodings
...
Closes #119 .
5 years ago
Jack Grigg
4ad3988e43
Crate docs
5 years ago
Jack Grigg
7f3036d2c8
Update READMEs
5 years ago
Jack Grigg
1fbf38280e
Fix intra-doc links
5 years ago
Jack Grigg
d9a0b9c83f
CI: Check intra-doc links
...
Credit: https://twitter.com/tomaka17/status/1176017851410526208
5 years ago
Jack Grigg
1d02363752
Add READMEs to Cargo.toml files
...
This will cause crates.io to render each crate's README as its
information page.
5 years ago
Jack Grigg
450087e280
Add test for spending_key panic on short seed
5 years ago
Jack Grigg
9377b78b35
Panic if spending_key is given a seed shorter than 32 bytes
...
This enforces the MUST requirement in ZIP 32. A panic is used instead of
an error because this should be considered an implementation error.
Ideally the type system would prevent this from occurring at all.
Closes #125 .
5 years ago
Jack Grigg
abbd43ff57
Make pk_d validity an invariant of PaymentAddress
...
Introduces a PaymentAddress::from_parts constructor, and getters for
the diversifier and pk_d fields (which are now private).
5 years ago
Jack Grigg
86142d044c
PaymentAddress::to_bytes
5 years ago
Jack Grigg
73ee19239c
Replace manual address decoding with PaymentAddress::from_bytes
5 years ago
Eirik Ogilvie-Wigley
a7c5993597
cargo fmt
5 years ago
Jack Grigg
5fb9b86ba0
Move Jubjub, Pedersen hash and primitives into zcash_primitives
5 years ago
Jack Grigg
ec321382e1
Upgrade to bech32 0.7
5 years ago
Jack Grigg
6f9083b5ab
Migrate to rand 0.7
5 years ago
Jack Grigg
b0913afdd7
Migrate remaining crates to rand_core 0.4
5 years ago
Jack Grigg
ccf75c39c1
Migrate remaining crates to rand 0.5
5 years ago
Jack Grigg
a3a9ee2682
Validate PaymentAddress diversifier when decoding
5 years ago
Jack Grigg
dd9c9ffa3f
Add encodings for ExtendedSpendingKey and ExtendedFullViewingKey
5 years ago
Jack Grigg
17f60a0354
Implement PaymentAddress encoding and decoding
5 years ago
Jack Grigg
81b2b1b554
Wallet spending key derivation path
5 years ago
Jack Grigg
fae919ec1c
Rename zcash_wallet to zcash_client_backend, set to 2018 edition
5 years ago