Post
Topic
Board Development & Technical Discussion
Merits 1 from 1 user
Topic OP
Does LevelDB remove spent transaction instantly after creating new block?
by
BoyFromDubai
on 20/12/2022, 12:11:16 UTC
⭐ Merited by ETFbitcoin (1)
I know that LevelDB stores information about UTXOs in the way like txid->utxos. And when all utxos are spent in this transaction, it is removed from DB. But is it an instant action after new block was created, where the last unspent utxo becomes spent?
I mean when the last unspent vout is in DB for txid X and it is spent in the block N, it will be removed from DB after block N instantly?