elements
elements copied to clipboard
[22.x] Restore full functionality to trim_headers (untrim)
Currently, trim_headers has certain limitations wrt the way it behaves in P2P protocol and in certain RPC calls. This PR brings back the full functionality and fixes a corruption issue when combined with pruning.
This is the 22.x version of https://github.com/ElementsProject/elements/pull/1270