Bitcoin full node and query server

Oct 25, 2024

View in context in the libbitcoin Slack #general mirror.

A
Antoine Poinsot19:58
In step 2. i'm missing "as soon as the best chain of headers is current".
evoskuil23:39
There can be any number of spends associated to an output. The spends table is read as a multimap against a given point. So for spentness we iterate the spending txs (spend.parent_tx surrogate key) and determine if they are confirmed by search of the strong_tx table with those keys (pointers). So by unconfirming (setting false in strong_tx) all spends of that tx automatically become unconfirmed spends (still spent, but not confirmed spent).