canepat
38a31cecb7
RPCDaemon: eth_gasPrice add baseFee if any to suggested gas price ( #2484 )
...
* Avoid decreasing gasFeeCap at each GetEffectiveGasTip call
Add baseFee if any to suggested gas price
* Move add before GPO caching
2021-08-03 11:48:09 +07:00
Alex Sharov
6bd44eb26c
move kv to erigon-lib ( #2467 )
2021-07-29 18:53:13 +07:00
Alex Sharov
69dc2776dc
MIT licensed metrics lib ( #2462 )
2021-07-29 17:27:46 +07:00
Alex Sharov
5069558752
Apache licensed logger ( #2460 )
2021-07-29 17:23:23 +07:00
ledgerwatch
74473a6362
Update skip_analysis.go
2021-07-29 09:12:11 +01:00
Alex Sharov
21cb7befa4
finish remove bucket suffix ( #2458 )
2021-07-28 10:43:51 +07:00
Alex Sharov
838e5f9ef2
Move bucket constants into kv package, move kv interface to kv package ( #2455 )
2021-07-28 09:47:38 +07:00
Alex Sharov
63a6c45ef1
Remove some db interfaces ( #2452 )
2021-07-27 19:35:32 +07:00
Alex Sharov
733991018b
port active precompiles activation ( #2448 )
2021-07-27 09:39:41 +07:00
Andrew Ashikhmin
db86092ccd
Remove unnecessary value transfer check from TransitionDb ( #2424 )
2021-07-26 15:09:39 +01:00
Alex Sharov
054581f507
staged syncs automatically add error prefix about stage number and name ( #2445 )
2021-07-26 13:19:01 +07:00
Alex Sharov
6bf54c951a
Sokol v0: unwind support ( #2439 )
2021-07-24 16:50:42 +07:00
Alex Sharov
6801208497
move some tests to kv interface ( #2438 )
2021-07-24 14:14:11 +07:00
Alex Sharov
a36a613e61
move migrations to kv interfaces ( #2430 )
2021-07-24 11:28:05 +07:00
Alex Sharov
f735997fa1
Sokol v0: remove unused parameters and methods ( #2435 )
2021-07-24 11:04:07 +07:00
Alex Sharov
1a4d9a0f35
tx_hash_cache_broken ( #2432 )
2021-07-23 19:16:58 +07:00
ledgerwatch
026c4e9d02
Reorg ropsten solution ( #2419 )
...
* Reorg ropsten solution
* Add option
* Print TD recalc
* Correct fix for eip1559
* Try to fix the unwind
* Print header progress and hash
* Not insert descendants of bad headers
* Print some more
* Print less
* Better way of marking bad headers
* Disable inSync
* Penalise peers who give incorrect chain pieces
* better fix for initial cycle
* Clean up
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-22 16:49:36 +01:00
ledgerwatch
d7c405308c
Update skip_analysis.go ( #2420 )
2021-07-22 18:57:36 +07:00
ledgerwatch
96ee6e1537
Fix for eip1559 incorrect assert ( #2415 )
...
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-07-21 19:35:08 +01:00
Alex Sharov
d2552196ad
Sokol v0: support for first epoch-set transition ( #2411 )
2021-07-21 18:13:26 +07:00
Alex Sharov
c3e1cfdac8
Pruning for: exec, log_index, tx_lookup, history stages ( #2399 )
...
* Pruning for: exec, log_index, tx_lookup, history stages
* Pruning for: exec, log_index, tx_lookup, history stages
* Pruning for: exec, log_index, tx_lookup, history stages
* Pruning for: exec, log_index, tx_lookup, history stages
* add tvm flag
* save
* db migration for storage mode
add flag --prune=
remove flag --storage-mode=
add flag --experiments=tevm,...
rename integration set_storage_mode to set_prune
* fix
* forward move of stages must skip everything before PruneTo
* keep in db progress of prune method
* keep in db progress of prune method
* simplify logs
* simplify logs
* simplify logs
* fix test
* simplify logs
* simplify logs
* simplify logs
* simplify logs
* remove callTraceSet as dupsort
use etl transform for txlookup prune
remove some logs
* cleanup tests a bit
* print_stages and eth_sync to show prune progress
* fix print_stages
* add readme about --prune.to flag
* more docs
* add --prune.history.older and other flags support
* fix migration on empty db
* better toString
* better toString
2021-07-20 21:03:19 +01:00
Alex Sharov
031b0b177e
remove mutexes use ( #2406 )
2021-07-20 15:34:11 +07:00
Alex Sharov
a79b3cd6eb
unify stage params ( #2384 )
2021-07-17 09:09:56 +07:00
Alex Sharov
325c9cd9d8
RPC: compatible accountRange ( #2378 )
2021-07-16 22:01:29 +07:00
Alex Sharov
9f6ef74adc
Linter: to check tx.Rollback() by ruleguard ( #2383 )
2021-07-16 20:23:54 +07:00
Alex Sharov
0d35048058
RPC: Access list storage keys are non-nil ( #2375 )
2021-07-15 21:00:51 +07:00
Alex Sharov
c9e4e0bd3d
broadcast local txs ( #2354 )
2021-07-15 11:17:48 +07:00
Artem Vorotnikov
a49b920659
Remove preimages ( #2370 )
2021-07-15 09:06:07 +07:00
Alex Sharov
29695bc91d
Revert "Revert "buy gas optimize ( #2360 )" ( #2367 )" ( #2369 )
2021-07-14 21:34:14 +07:00
Alex Sharov
ede11f1ab1
Revert "buy gas optimize ( #2360 )" ( #2367 )
...
This reverts commit 7c95f3911fc0f63375392f269efdc85af92be053.
2021-07-14 21:10:48 +07:00
Alex Sharov
7c95f3911f
buy gas optimize ( #2360 )
2021-07-14 21:10:20 +07:00
ledgerwatch
d802e6367a
Update skip_analysis.go ( #2364 )
2021-07-14 07:52:32 +01:00
Alex Sharov
75ee5db06f
Block read optimize ( #2357 )
2021-07-13 16:31:59 +07:00
Alex Sharov
557d082c51
Sokol v0: epoch support ( #2348 )
...
* remove ctx from state writer interface
* call me baby
* save
* save
* can process block 1
* can process block 1
* can process block 1
* can process block 1
* save
* save
* parse logs logic
* cleans
* cleans
* cleans
2021-07-12 16:27:25 +01:00
Alex Sharov
188dfb14b8
txPool: propagate on peer connect ( #2335 )
2021-07-11 14:01:16 +07:00
Alex Sharov
e1c17e035a
rawdb.TxLookup - to return err, remove docs of rpcdaemon dual mode ( #2340 )
2021-07-11 12:25:21 +07:00
Alex Sharov
5eaf4c8cc3
rpc: 1559 in call and tracing ( #2327 )
2021-07-11 04:05:56 +00:00
Alex Sharov
858fb3f503
mainnet london block and port some go-ethereum fixes related to baseFee ( #2323 )
2021-07-09 16:54:06 +07:00
Alex Sharov
76bc954283
Sokol v0: can process 1-st block ( #2310 )
2021-07-08 19:40:43 +07:00
ledgerwatch
95ab8506bc
Update skip_analysis.go ( #2315 )
2021-07-08 11:54:43 +01:00
Alex Sharov
7c60cc0fee
step towards kv interface ( #2313 )
2021-07-08 09:56:09 +07:00
Alex Sharov
a78cb54132
step towards kv interface ( #2311 )
2021-07-07 23:15:49 +07:00
Alex Sharov
a68b5ba361
Replace ChainConfig.WithEIPsFlags by go-ethereum's ChainConfig.Rules ( #2304 )
...
* use chainRules
* use chainRules
* use chainRules
* use chainRules
* use chainRules
2021-07-05 19:52:50 +01:00
Alex Sharov
9683b26483
remove ctx from state writer interface ( #2302 )
2021-07-05 15:42:44 +07:00
ledgerwatch
7c8d85d829
Update skip_analysis.go ( #2295 )
2021-07-05 07:32:42 +01:00
Alex Sharov
3db7e85994
Simplify GetAsOf ( #2285 )
...
* no reason to copy if we work with ethdb.Tx (user of ethdb.Tx expecting that all data valid until end of tx)
* less objects
2021-07-04 08:49:31 +01:00
alex.sharov
4be66ee9cb
Revert "save"
...
This reverts commit 6eed73566d8aff4c1c7f026997474e148c246c7c.
2021-07-03 17:38:58 +07:00
alex.sharov
6eed73566d
save
2021-07-03 17:01:23 +07:00
ledgerwatch
87f0594660
Update skip_analysis.go ( #2263 )
2021-07-01 21:59:56 +07:00
Alex Sharov
6df7230108
Sokol v0 - better header rlp, steps to generate blocks ( #2256 )
2021-06-30 16:30:21 +07:00