erigon-pulse/core
ledgerwatch 80f06b279a
Fix --download-only mode (#374)
* Fix download only

* Fix lint

* Reset references

* Only reset on error

* Potential fixes

* no NPE

* no NPE

* Not use multi-put

* Reduce ideal batch size for download only

* Handle tds == nil

* remove nested mutation

* Return multiput

* Better reporting

* Reduce batch size for download only

* Avoid extra copying

* Avoid extra copying

* IdealBatchSize

* Not write tx lookup entries

* Larger batches

* Go back to normal batch size

* Fix lint

* Gen tx lookup

* print progress

* Add filling up the lookup array

* Show tx count

* Introduce second round

* Add generating tx lookup

* Fix lint

* properly stop at specified block

* measure the duration of the last phase

* not to fail if the bucket is not found

* Fix lint

* Alternative tx generation

* Fix out of memory

* Fix out of memory

* Split in parts to conserve memory

* Copy keys

* Fix lint

* Fix lint
2020-03-01 09:00:14 +00:00
..
asm core/asm: allow numbers in labels (#20362) 2019-12-03 13:55:30 +01:00
bloombits Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
forkid consensus/ethash, params: eip-2384: bump difficulty bomb (#20347) 2019-12-09 12:56:07 +01:00
rawdb Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
state Fix --download-only mode (#374) 2020-03-01 09:00:14 +00:00
types Tx pool use triedbstate, fixes to GetNodeData and move it to experimental (#364) 2020-02-10 17:05:32 +00:00
vm post-merge fixups 2020-02-27 17:22:25 +03:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
block_validator_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
block_validator.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
blockchain_insert.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
blockchain_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
blockchain.go Fix --download-only mode (#374) 2020-03-01 09:00:14 +00:00
blocks.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
chain_indexer.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
chain_makers_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
chain_makers.go Restore Ethash mining (#231) 2019-12-10 16:12:21 +03:00
dao_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
error.go core: move error variable to error.go (#19560) 2019-05-13 13:23:32 +03:00
events.go eth/filters: remove use of event.TypeMux for pending logs (#20312) 2020-01-30 13:36:30 +02:00
evm.go core/evm: less iteration in blockhash (#20589) 2020-02-27 17:20:36 +03:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis_account.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
gen_genesis.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
genesis_alloc.go cmd, core, params: add support for Goerli 2019-02-04 14:53:12 +02:00
genesis_test.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
genesis.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
headerchain.go Refactor mining. Remove a few mining goroutines (#338) 2020-02-03 15:02:26 +03:00
mkalloc.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
pruner_test.go Trie: store self-destructed accounts (#355) 2020-02-12 13:52:59 +00:00
pruner.go split storage and account encoding for changeset 2020-02-24 22:36:16 +03:00
state_prefetcher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
state_processor.go Thin history (#272) 2019-12-20 15:25:40 +03:00
state_transition.go core: s/isEIP155/isHomestead/g (fix IntrinsicGas signature var name) (#20300) 2019-12-03 13:39:28 +01:00
tx_cacher.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_journal.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_list_test.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00
tx_list.go core: count tx size in slots, bump max size ot 4x32KB (#20352) 2020-01-30 13:36:30 +02:00
tx_noncer.go Remove Copy from IntraBlockState and use references instead of copies in other places. 2019-11-07 13:32:20 +01:00
tx_pool_test.go Tx pool use triedbstate, fixes to GetNodeData and move it to experimental (#364) 2020-02-10 17:05:32 +00:00
tx_pool.go Fix --download-only mode (#374) 2020-03-01 09:00:14 +00:00
types.go Apply Turbo-Geth modifications to go-ethereum codebase 2019-11-01 21:52:03 +01:00