Bitcoin Forum
May 24, 2024, 03:22:35 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: what does undo data used to do? How it works?  (Read 813 times)
bit_kevin (OP)
Member
**
Offline Offline

Activity: 64
Merit: 10


btc.com


View Profile WWW
May 24, 2013, 07:04:13 AM
 #1

Block's undo data is stored in blocks/rev?Huh?.dat.

In C++ source code there are class CTxUndo/CBlockUndo... to do these stuff.

So what does undo data used to do? How it works?
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1022

No Maps for These Territories


View Profile
May 24, 2013, 12:22:21 PM
 #2

it's used when there is a block chain reorganization

Bitcoin Core developer [PGP] Warning: For most, coin loss is a larger risk than coin theft. A disk can die any time. Regularly back up your wallet through FileBackup Wallet to an external storage or the (encrypted!) cloud. Use a separate offline wallet for storing larger amounts.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!