Bitcoin Forum
May 13, 2024, 12:40:57 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?
1715560857
Hero Member
*
Offline Offline

Posts: 1715560857

View Profile Personal Message (Offline)

Ignore
1715560857
Reply with quote  #2

1715560857
Report to moderator
The forum strives to allow free discussion of any ideas. All policies are built around this principle. This doesn't mean you can post garbage, though: posts should actually contain ideas, and these ideas should be argued reasonably.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715560857
Hero Member
*
Offline Offline

Posts: 1715560857

View Profile Personal Message (Offline)

Ignore
1715560857
Reply with quote  #2

1715560857
Report to moderator
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!