f7f6c2070d
Previously we were sending an `Option<DecryptedNote>` from each `Batch` back to its parent `BatchRunner`. However, this requires allocating sufficient space in the channel to handle the case where every output can be decrypted. In general this will not be the case, and we can instead signal "nothing decrypted" by just dropping the channel sender. This reduces the post-batch-scanning memory usage of `BatchRunner` from being linear in the number of on-chain outputs, to being linear in the number of outputs for the wallet. |
||
---|---|---|
.. | ||
book | ||
imgs | ||
man | ||
release-notes | ||
Doxyfile | ||
authors.md | ||
bips.md | ||
developer-notes.md | ||
hotfix-process.md | ||
payment-api.md | ||
payment-disclosure.md | ||
reduce-traffic.md | ||
reducing-memory-usage.md | ||
release-notes.md | ||
release-process.md | ||
translation_strings_policy.md | ||
unit-tests.md | ||
zmq.md |