]> Untitled Git - bdk/commit
Address out of memory issue caused by many txs.
authorJoey Guinta <jguinta@squareup.com>
Thu, 13 Feb 2025 17:29:39 +0000 (12:29 -0500)
committerJoey Guinta <jguinta@squareup.com>
Thu, 13 Feb 2025 17:33:43 +0000 (12:33 -0500)
commit7530b22b6fa59832776a224fa087db1ddde9e589
tree76bb5808d5ec4aabc8e32560dc8addb3f3bcd34f
parent9df982780efa16cd68f071f852c657ee6069f31d
Address out of memory issue caused by many txs.

For some wallets there exists a pathological case where we may try to fetch many thousands
        of transactions at once, which creates enormous memory pressure. By chunking the batch
        into more reasonably sized sub-queries, we allow time for memory to be freed.
src/blockchain/electrum.rs