Bitcoin Forum
April 26, 2024, 04:48:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: which file in bitcoin core src handles chainstate db ?  (Read 122 times)
btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 25, 2018, 03:42:28 AM
Merited by ABCbits (1)
 #1

i am trying to find out which cpp file in bitcoin-core src, is handling stuff related to chainstate db.

https://github.com/bitcoin/bitcoin/


Thanks for your time.

1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
"If you don't want people to know you're a scumbag then don't be a scumbag." -- margaritahuyan
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
1714106922
Hero Member
*
Offline Offline

Posts: 1714106922

View Profile Personal Message (Offline)

Ignore
1714106922
Reply with quote  #2

1714106922
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
January 25, 2018, 03:52:41 AM
Merited by ABCbits (2)
 #2

The chainstate db contains basically two parts, the UTXO set and the actual chain state. The stuff pertaining to the UTXO set is in txbd.{cpp, h}. The stuff related to the actual chain state can be found in validation.{cpp, h} (mostly things under the CChainState class).

btctousd81 (OP)
Sr. Member
****
Offline Offline

Activity: 434
Merit: 270


View Profile WWW
January 25, 2018, 04:30:05 AM
 #3

The chainstate db contains basically two parts, the UTXO set and the actual chain state. The stuff pertaining to the UTXO set is in txbd.{cpp, h}. The stuff related to the actual chain state can be found in validation.{cpp, h} (mostly things under the CChainState class).

i am interested in UTXO set .
i read key=> value pairs are there in UTXO set chainstate.

whats in actual chain state ?

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!