Commit Graph

11 Commits

Author SHA1 Message Date
Jack Grigg
ac4acfa26e Fix rand_os warning in tests 2019-10-31 16:36:54 +00: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
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
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