Bitcoin full node and query server

Jan 7, 2019

View in context in the libbitcoin Slack #general mirror.

vdeurzen13:54
effectively my context is: 1. we will receive btc on a selection of addresses 2. after x confirmations these outputs will be spent and transferred to a designated wallet if somehow the process dies, is killed or some other issue occurs, I want to add a boot phase that simply replays the last Y blocks in the database and spends the received crypto. So, the issue I'm trying to understand is whether or not it will be an issue if that boot-phase creates txs spending already spent outputs 🤔 I don't think, conceptually, it should be an issue, if the output is spent a duplicate transaction should be rejected by most other nodes and for me it doesn't matter because in the best case I've spent outputs that were unspent still and in the worst case I've created a few invalid txs ... make sense?