Difference between revisions of "Geth db check-state-content"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
<code>[[geth db]] check-state-content</code> to verify the integrity of [[trie nodes]].
 +
* https://github.com/syscoin/go-ethereum/commit/a1634cb97509c5821afd106114fe5c61d8258096
 +
 +
* <code>[[geth db check-state-content --datadir ./]]</code>
  
  
 
  [[geth db]] check-state-content
 
  [[geth db]] check-state-content
<pre>
+
  INFO [08-18|19:01:15.898] Maximum peer count                      ETH=50 total=50
INFO [08-18|19:01:08.785] Maximum peer count                      ETH=50 total=50
+
INFO [08-18|19:01:15.902] Set global gas cap                      cap=50,000,000
Fatal: Failed to create the protocol stack: datadir already used by another process
+
INFO [08-18|19:01:15.902] Initializing the [[KZG]] library            backend=gokzg
~ geth db check-state-content
+
INFO [08-18|19:01:15.921] Using [[pebble]] as the backing database
 
+
INFO [08-18|19:01:15.921] Allocated [[cache]] and [[file handles]]         database=[[~/Library/Ethereum/geth/chaindata]] cache=512.00MiB handles=5120
INFO [08-18|19:01:15.898] Maximum peer count                      ETH=50 total=50
+
INFO [08-18|19:01:15.923] Opened ancient database                  database=~/Library/Ethereum/geth/chaindata/ancient/chain readonly=true
INFO [08-18|19:01:15.902] Set global gas cap                      cap=50,000,000
+
INFO [08-18|19:01:15.929] [[Iterated the state content]]               errors=0 items=0
INFO [08-18|19:01:15.902] Initializing the KZG library            backend=gokzg
 
INFO [08-18|19:01:15.921] Using pebble as the backing database
 
INFO [08-18|19:01:15.921] Allocated cache and file handles        database=/Users/user/Library/Ethereum/geth/chaindata cache=512.00MiB handles=5120
 
INFO [08-18|19:01:15.923] Opened ancient database                  database=/Users/user/Library/Ethereum/geth/chaindata/ancient/chain readonly=true
 
INFO [08-18|19:01:15.929] Iterated the state content              errors=0 items=0
 
</pre>
 
 
 
  
 +
== See also ==
 +
* {{trie}}
 +
* {{geth db}}
  
{{geth db}}
+
[[Category:Geth]]

Latest revision as of 11:46, 16 October 2024

geth db check-state-content to verify the integrity of trie nodes.


geth db check-state-content
INFO [08-18|19:01:15.898] Maximum peer count                       ETH=50 total=50
INFO [08-18|19:01:15.902] Set global gas cap                       cap=50,000,000
INFO [08-18|19:01:15.902] Initializing the KZG library             backend=gokzg
INFO [08-18|19:01:15.921] Using pebble as the backing database
INFO [08-18|19:01:15.921] Allocated cache and file handles         database=~/Library/Ethereum/geth/chaindata cache=512.00MiB handles=5120
INFO [08-18|19:01:15.923] Opened ancient database                  database=~/Library/Ethereum/geth/chaindata/ancient/chain readonly=true
INFO [08-18|19:01:15.929] Iterated the state content               errors=0 items=0

See also[edit]

Advertising: