paritytech / parity-zcash

Rust implementation of Zcash protocol
GNU General Public License v3.0
184 stars 40 forks source link

Changed type of sighash cache #92

Closed svyatonik closed 5 years ago

svyatonik commented 5 years ago

closes #91

Instead of Option<Cache> we now have Cache { Option<H256>, Option<H256>, ... }. Every portion is cached separately && it is the portion-computer who decides if it wants to use cached value or it wants to cache computed value.