a66ecbc16d
* Store precalculated transactions in an `Arc` Transaction `Hash`es are 32 bytes, and the minimun transparent transaction size is 54 bytes. So a full 2MB block can create 1.1MB of transaction hashes. We use an `Arc` to avoid repeatedly cloning that much data. * Remove the unused `Block` from `ChainTipBlock` This drops the block as soon as it isn't needed any more. Previously, it would stick around until every `ChainTipReceiver` dropped their `ChainTipBlock`, even if they didn't use the `Block` at all. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |