Difference between revisions of "Geth console"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
  geth console 2>[[/dev/null]]
 
  geth console 2>[[/dev/null]]
 +
geth console --verbosity 3 2>[[geth-logs.log]]
 +
  
 
  geth console
 
  geth console

Revision as of 07:36, 11 June 2024


geth console 2>/dev/null
geth console --verbosity 3 2>geth-logs.log


geth console
INFO [05-08|17:10:25.546] Starting Geth on Ethereum mainnet...
INFO [05-08|17:10:25.546] Bumping default cache on mainnet         provided=1024 updated=4096
INFO [05-08|17:10:25.548] Maximum peer count                       ETH=50 total=50
INFO [05-08|17:10:25.553] Set global gas cap                       cap=50,000,000
INFO [05-08|17:10:25.553] Initializing the KZG library             backend=gokzg
INFO [05-08|17:10:25.580] Allocated trie memory caches             clean=614.00MiB dirty=1024.00MiB
INFO [05-08|17:10:25.580] Defaulting to pebble as the backing database
INFO [05-08|17:10:25.581] Allocated cache and file handles         database=~/Library/Ethereum/geth/chaindata cache=2.00GiB handles=5120
INFO [05-08|17:10:25.648] Opened ancient database                  database=~/Users/user/Library/Ethereum/geth/chaindata/ancient/chain readonly=false
INFO [05-08|17:10:25.649] State schema set to default              scheme=path
ERROR[05-08|17:10:25.649] Head block is not reachable
INFO [05-08|17:10:25.649] Initialising Ethereum protocol           network=1 dbversion=<nil>
WARN [05-08|17:10:25.652] Sanitizing invalid node buffer size      provided=1024.00MiB updated=256.00MiB
ERROR[05-08|17:10:25.652] Zero trie root hash!
.../...
INFO [05-08|17:10:26.241] WebSocket enabled                        url=ws://127.0.0.1:8551
INFO [05-08|17:10:26.241] HTTP server started                      endpoint=127.0.0.1:8551 auth=true prefix= cors=localhost vhosts=localhost
Welcome to the Geth JavaScript console!

instance: Geth/v1.14.0-stable/darwin-arm64/go1.22.2
at block: 0 (Thu Jan 01 1970 01:00:00 GMT+0100 (CET))
 datadir: /Users/user/Library/Ethereum
 modules: admin:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 txpool:1.0 web3:1.0

To exit, press ctrl-d or type exit


geth console --help

Related

See also

Advertising: