Bitcoin Forum
May 04, 2024, 10:43:13 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?
"In a nutshell, the network works like a distributed timestamp server, stamping the first transaction to spend a coin. It takes advantage of the nature of information being easy to spread but hard to stifle." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714819393
Hero Member
*
Offline Offline

Posts: 1714819393

View Profile Personal Message (Offline)

Ignore
1714819393
Reply with quote  #2

1714819393
Report to moderator
1714819393
Hero Member
*
Offline Offline

Posts: 1714819393

View Profile Personal Message (Offline)

Ignore
1714819393
Reply with quote  #2

1714819393
Report to moderator
1714819393
Hero Member
*
Offline Offline

Posts: 1714819393

View Profile Personal Message (Offline)

Ignore
1714819393
Reply with quote  #2

1714819393
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!