Bitcoin Forum
September 22, 2018, 04:18:49 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: what does undo data used to do? How it works?  (Read 716 times)
bit_kevin
Member
**
Offline Offline

Activity: 66
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?
1537589929
Hero Member
*
Offline Offline

Posts: 1537589929

View Profile Personal Message (Offline)

Ignore
1537589929
Reply with quote  #2

1537589929
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537589929
Hero Member
*
Offline Offline

Posts: 1537589929

View Profile Personal Message (Offline)

Ignore
1537589929
Reply with quote  #2

1537589929
Report to moderator
1537589929
Hero Member
*
Offline Offline

Posts: 1537589929

View Profile Personal Message (Offline)

Ignore
1537589929
Reply with quote  #2

1537589929
Report to moderator
1537589929
Hero Member
*
Offline Offline

Posts: 1537589929

View Profile Personal Message (Offline)

Ignore
1537589929
Reply with quote  #2

1537589929
Report to moderator
wumpus
Hero Member
*****
qt
Offline Offline

Activity: 812
Merit: 1000

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:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!