Topic

geth

7 notes filed under this topic.

geth

geth state prune

NOTE: Offline pruning is only for the hash-based state scheme. In future release, geth will have a path-based state scheme which enables the pruning by default. Once the hash-based state sc…

Read article
geth

geth sync

stateEthereum maintains two different types of state: the set of accounts; and a set of storage slots for each contract account. Naively, storing these key-value pairs as flat data would be…

Read article
geth

geth v1.10.0 summary

introductiongeth v1.10.0 has been released on Mar 4 2021. this is a late summary of v1.10.0. snapshotsthe snapshot feature reduces the cost of accessing an account from O(logN) to O(1). Whi…

Read article
blockchain

MPT

triea trie, also called prefix tree, is a type of k-ary search tree. These keys are most often strings, with links between nodes defined not by the entire key, but by individual characters.…

Read article
blockchain

geth evm source analysis

overallthe code is under path core/vmoverview of the whole evm module the core is EVM struct (in evm.go), with main function in creating or call contract. a new EVM object is created every …

Read article
blockchain

rpc

overviewpackage rpc implements bi-directional JSON-RPC 2.0 on multiple transports (http, ws, ipc). After creating a server or client instance, objects can be registered to make them visible…

Read article
blockchain

geth start

build from source understanding geth configgeth config type is defined in /cmd/geth/config.go ethconfig (eth/ethconfig/config.go)contains configuration options for …

Read article