btcsuite / btcwallet

A secure bitcoin wallet daemon written in Go (golang)
ISC License
1.15k stars 590 forks source link

chain: optimize mempool memory usage for RPC clients #896

Closed yyforyongyu closed 1 year ago

yyforyongyu commented 1 year ago

This PR makes the RPC client to use gettxspendingprevout to look up mempool spend for a given output, such that the internal inputs can be removed, which can save us quite some memory usage.

saubyk commented 1 year ago

cc: @guggero @bhandras