bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.85k stars 2.09k forks source link

[BCN] Move descendant invalidation to pruning service #3683

Closed kajoseph closed 5 days ago

kajoseph commented 8 months ago

This PR:

kajoseph commented 8 months ago

Something like this would fix the sync issue, but child txs would not be marked appropriately.

I'm considering having this fn merely set the replaced tx as such and then have a "cleanup" worker/process mark the children appropriately.

EDIT: This PR now does the latter.