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.
AusIV
3ebfeb09fe
core/rawdb: fix high memory usage in freezer ( #21243 )
...
The ancients variable in the freezer is a list of hashes, which
identifies all of the hashes to be frozen. The slice is being allocated
with a capacity of `limit`, which is the number of the last block
this batch will attempt to add to the freezer. That means we are
allocating memory for all of the blocks in the freezer, not just
the ones to be added.
If instead we allocate `limit - f.frozen`, we will only allocate
enough space for the blocks we're about to add to the freezer. On
mainnet this reduces usage by about 320 MB.
4 years ago
..
accessors_chain.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
accessors_chain_test.go
core/rawdb: check hash before return data from ancient db ( #20195 )
5 years ago
accessors_indexes.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
accessors_indexes_test.go
core: lookup txs by block number instead of block hash ( #19431 )
6 years ago
accessors_metadata.go
cmd/geth, core/rawdb: seamless freezer consistency, friendly removedb
6 years ago
accessors_snapshot.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago
chain_iterator.go
all: fix typos in comments ( #21118 )
5 years ago
chain_iterator_test.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
database.go
core/rawdb: stop freezer process as part of freezer.Close() ( #21010 )
5 years ago
freezer.go
core/rawdb: fix high memory usage in freezer ( #21243 )
4 years ago
freezer_table.go
core/rawdb: swap tailId and itemOffset for deleted items in freezer ( #21220 )
4 years ago
freezer_table_test.go
core/rawdb: swap tailId and itemOffset for deleted items in freezer ( #21220 )
4 years ago
schema.go
cmd, core, eth: background transaction indexing ( #20302 )
5 years ago
table.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago
table_test.go
all: simplify and fix database iteration with prefix/start ( #20808 )
5 years ago