Ethereum notes

Current geth run script:

#!/usr/bin/env bash

./geth --syncmode full --http --cache 10240 --cache.gc 0 --cache.trie 30 --cache.snapshot 20

10GB cache, no cache for GC, 30% for tries and 20% for snapshots

To use the geth console you do not need truffle! Just do this:

./geth attach

Status a little while ago:

> eth.syncing
{
  currentBlock: 14173102,
  healedBytecodeBytes: 10233052,
  healedBytecodes: 1760,
  healedTrienodeBytes: 6174682830,
  healedTrienodes: 18414178,
  healingBytecode: 0,
  healingTrienodes: 1108,
  highestBlock: 14173193,
  startingBlock: 14171078,
  syncedAccountBytes: 40439650004,
  syncedAccounts: 176423904,
  syncedBytecodeBytes: 3040047705,
  syncedBytecodes: 500257,
  syncedStorage: 619171274,
  syncedStorageBytes: 132652376956
}

Status at 12:34 PM on Feb 9th, 2022:

> eth.syncing
{
  currentBlock: 14173166,
  healedBytecodeBytes: 10286655,
  healedBytecodes: 1766,
  healedTrienodeBytes: 6200050193,
  healedTrienodes: 18489064,
  healingBytecode: 0,
  healingTrienodes: 3524,
  highestBlock: 14173242,
  startingBlock: 14171078,
  syncedAccountBytes: 40439650004,
  syncedAccounts: 176423904,
  syncedBytecodeBytes: 3040047705,
  syncedBytecodes: 500257,
  syncedStorage: 619171274,
  syncedStorageBytes: 132652376956
}

INFO [02-09|12:35:01.766] State heal in progress
accounts=9167@507.29KiB
slots=5598@436.68KiB
codes=1766@9.81MiB
nodes=18,489,561@5.77GiB
pending=84803

Status at 2:42 PM on Feb 9th, 2022:

> eth.syncing
{
  currentBlock: 14173717,
  healedBytecodeBytes: 10556296,
  healedBytecodes: 1808,
  healedTrienodeBytes: 6466683122,
  healedTrienodes: 19308839,
  healingBytecode: 0,
  healingTrienodes: 1108,
  highestBlock: 14173812,
  startingBlock: 14171078,
  syncedAccountBytes: 40439650004,
  syncedAccounts: 176423904,
  syncedBytecodeBytes: 3040047705,
  syncedBytecodes: 500257,
  syncedStorage: 619171274,
  syncedStorageBytes: 132652376956
}

INFO [02-09|14:42:50.777] State heal in progress
accounts=65838@3.62MiB
slots=109,380@8.23MiB
codes=1808@10.07MiB
nodes=19,313,036@6.02GiB
pending=86722