Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Lange
909dd4a109
rlp/rlpgen: remove build tag ( #28106 )
...
* rlp/rlpgen: remove build tag
This tag was supposed to prevent unstable output when types reference each other. Imagine
there are two struct types A and B, where a reference to type B is in A. If I run rlpgen
on type B first, and then on type A, the generator will see the B.EncodeRLP method and
call it. However, if I run rlpgen on type A first, it will inline the encoding of B.
The solution I chose for the initial release of rlpgen was to just ignore methods
generated by rlpgen using a build tag. But there is a problem with this: if any code in
the package calls EncodeRLP explicitly, the package can't be loaded without errors anymore
in rlpgen, because the loader ignores it. Would be nice if there was a way to just make it
ignore invalid functions during type checking (they're not necessary for rlpgen), but
golang.org/x/tools/go/packages does not provide a way of ignoring them.
Luckily, the types we use rlpgen with do not reference each other right now, so we can
just remove the build tags for now.
1 year ago
..
asm
core/asm: remove unused return value ( #27272 )
2 years ago
bloombits
core/bloombits: use atomic type ( #26993 )
2 years ago
forkid
core/forkid: skip genesis forks by time ( #28034 )
1 year ago
rawdb
core/rawdb: skip pathdb state inspection in hashdb mode ( #28108 )
1 year ago
state
metrics: refactor metrics ( #28035 )
1 year ago
txpool
params: update 4844 parameters ( #28026 )
1 year ago
types
rlp/rlpgen: remove build tag ( #28106 )
1 year ago
vm
core/vm/runtime: Add Random field to config ( #28001 )
2 years ago
.gitignore
Renamed `chain` => `core`
10 years ago
bench_test.go
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
2 years ago
block_validator.go
core/types: support for optional blob sidecar in BlobTx ( #27841 )
2 years ago
block_validator_test.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
blockchain.go
metrics, cmd/geth: informational metrics (prometheus, influxdb, opentsb) ( #24877 )
1 year ago
blockchain_insert.go
core, eth, trie: expose more detailed dirty ram tracking for diff layers ( #27971 )
2 years ago
blockchain_reader.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
blockchain_repair_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
2 years ago
blockchain_sethead_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
2 years ago
blockchain_snapshot_test.go
core/rawdb, ethdb/pebble: avoid fsync db in tests ( #27836 )
2 years ago
blockchain_test.go
core, eth, trie: expose more detailed dirty ram tracking for diff layers ( #27971 )
2 years ago
blocks.go
core: typos and comments improve
8 years ago
bloom_indexer.go
core: preallocate batch size in bloomIndexer ( #25289 )
3 years ago
chain_indexer.go
core,console: replace noarg fmt.Errorf with errors.New ( #27332 )
2 years ago
chain_indexer_test.go
core: fix potential race in chainIndexerTest ( #22346 )
4 years ago
chain_makers.go
beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates ( #27872 )
2 years ago
chain_makers_test.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
dao_test.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
error.go
all: replace data gas to blob gas in comments ( #27825 )
2 years ago
events.go
eth/filters: remove use of event.TypeMux for pending logs ( #20312 )
5 years ago
evm.go
all: rename dataGas to blobGas ( #27789 )
2 years ago
forkchoice.go
core: clarify code in forkchoice ( #26257 )
2 years ago
gaspool.go
core, miner: revert block gas counter in case of invalid transaction ( #26799 )
2 years ago
gen_genesis.go
all: rename dataGas to blobGas ( #27789 )
2 years ago
gen_genesis_account.go
tests: update for London ( #22976 )
4 years ago
genesis.go
beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates ( #27872 )
2 years ago
genesis_alloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
2 years ago
genesis_test.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
headerchain.go
all: remove ethash pow, only retain shims needed for consensus and tests ( #27178 )
2 years ago
headerchain_test.go
all: activate pbss as experimental feature ( #26274 )
2 years ago
mkalloc.go
cmd, core, params: add support for the Holesky testnet ( #28007 )
2 years ago
rlp_test.go
all: cleanup tests ( #25641 )
2 years ago
sender_cacher.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
state_prefetcher.go
core/types, params: add blob transaction type, RLP encoded for now ( #27049 )
2 years ago
state_processor.go
core: fix calculation of blob gasprice in tx receipt ( #28082 )
1 year ago
state_processor_test.go
beacon/engine, eth/catalyst, miner: EIP-4788 CL/EL protocol updates ( #27872 )
2 years ago
state_transition.go
all: replace data gas to blob gas in comments ( #27825 )
2 years ago
types.go
core: use atomic type ( #27011 )
2 years ago