Commit Graph

2005 Commits

Author SHA1 Message Date
Alex Sharp
16a02d0987 Merge branch 'more-generalised-pruneReceipts' of https://github.com/enriavil1/erigon into enriavil1-more-generalised-pruneReceipts 2021-09-12 10:20:39 +01:00
Giulio rebuffo
e0c14c9a25
Update stage_execute.go 2021-09-12 10:16:53 +02:00
ledgerwatch
15b4095718
Move ETL to erigon-lib (#2667)
* Move ETL to erigon-lib

* Update link in the readme

* go mod tidy

* Use common/chan.go from erigon-lib

* Clean up

* Fix lint

* Fix test

* Fix compilation

Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-09-12 08:50:17 +01:00
Giulio rebuffo
3354a29eb9
Update stage_execute.go 2021-09-12 09:48:41 +02:00
Giulio rebuffo
4fb89ad735
Update stage.go 2021-09-12 09:47:53 +02:00
Enrique Avila Asapche
1eefb72934 'ran gofmt -w -s . to format' 2021-09-11 17:41:29 +03:00
Alex Sharov
ed33b651cd
Print goroutines trace to STDOUT without app stop on SIGUSR1 (#2663) 2021-09-11 18:16:39 +07:00
Enrique Avila Asapche
1786e44269 fixed bug in stages to refactor the code into two reusable functions PruneTableMultiCursor and PruneTable 2021-09-11 13:09:18 +03:00
Enrique Avila Asapche
d14b894f07 deleted kv.log section and instead call it in cfg.prune.Receipts.Enabled 2021-09-10 15:59:22 +03:00
Alex Sharov
71ec0938b5
fix wrong order of constructor (#2657) 2021-09-10 10:06:23 +07:00
Enrique Avila Asapche
20f10ca95a Added identifier instead of kv.Receipts 2021-09-09 18:58:34 +03:00
Alex Sharov
3193f95152
Apply mined block (#2650) 2021-09-09 14:26:58 +07:00
jt9897253
b958d49587
Fix typo (#2648)
Change `Preload headedrs` to `Preload headers`
2021-09-09 08:50:42 +07:00
Alex Sharov
798c2d64a4
Pool: no state presistance (#2646) 2021-09-08 19:33:14 +07:00
alex.sharov
bd017a06d4 save 2021-09-08 16:17:52 +07:00
Alex Sharov
fd69b509a5
Senders prune logging (#2645) 2021-09-08 16:11:05 +07:00
Alex Sharov
0d79c19f21
clean ipc string (#2644) 2021-09-08 15:25:10 +07:00
Alex Sharov
2d8941a845
Pool: built-in v2 (#2643) 2021-09-08 12:31:51 +07:00
Alex Sharov
99317663f8
No open db in main, right clique sign, periodically release write tx on devnet (#2642) 2021-09-08 11:13:34 +07:00
Giulio rebuffo
b85c5f40e2
added senders pruning (#2634) 2021-09-08 08:38:58 +07:00
Alex Sharov
dd7f197db3
Devnet private key (#2639) 2021-09-07 16:12:49 +07:00
Alex Sharov
28480a36ec
Pool: add --txpool.v2 flag to rpcdaemon (#2624) 2021-09-03 11:19:35 +07:00
Alex Sharov
4c1dbdf50e
Pool: add --txpool.v2 flag to erigon (it just disabling existing machinery for now) (#2620) 2021-09-02 17:04:30 +07:00
ledgerwatch
12cbf4d6fa
Ropsten to find correct chain (#2614)
* Ropsten to find correct chain

* Cleanup and compile fix

* Compile fix

* Print duration of the unwind, not the timestamp

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-01 22:21:57 +01:00
racytech
fd357f034d
bad.hash flag added to exclude block by hash and not by number (#2612)
* BadHashFlag added

* bad.hash to bad.block
2021-09-01 22:16:25 +01:00
Alex Sharov
edb83d1ed9
Roaring bitmap lib version up (#2606) 2021-09-01 12:09:04 +07:00
ligi
d798d239f6
Fix typos (#2602) 2021-08-31 14:50:39 +07:00
Alex Sharov
017b460b99
CallTraces prune to use ETL (#2592) 2021-08-30 09:13:30 +07:00
Alex Sharov
abd2e2de2e
Sentry: clients can't slow down each-other, dedicated stream for sending headers (#2558) 2021-08-20 19:48:18 +07:00
Alex Sharov
f5c6def4bc
close db (#2548) 2021-08-18 15:50:22 +07:00
Alex Sharov
b7ada2a595
create new Change object if incarnation increased (#2539)
* create new Change object if incarnation increased

* create new Change object if incarnation increased
2021-08-18 09:41:07 +07:00
Alex Sharov
5e6549ac7d
Better logs prune (#2543)
* prune log prefix

* prune log prefix
2021-08-17 18:51:08 +01:00
Alex Sharov
6c7edb0d34
state diff send to txpool (#2532) 2021-08-17 15:52:55 +07:00
Alex Sharov
c7c3a5932a
rename ReadBody to ReadBodyWithTransactions to make it obvious that it's heavier then just ReadBody (#2534)
* rename ReadBody to ReadBodyWithTransactions

* rename ReadBody to ReadBodyWithTransactions
2021-08-15 17:08:28 +07:00
Alex Sharov
98e60b5b4b
Separate handshake from set_status - because txpool can't set any sentry status but need to handshake (#2529)
* sentry handshake

* move sentry clients to erigon-lib

* correct grpc retry

* correct grpc retry

* correct grpc retry
2021-08-14 15:11:46 +07:00
Alex Sharov
f01a71a696
feehistory fix types to be compatible with spec (#2518) 2021-08-13 10:47:43 +07:00
Evgeny Danilenko
4cd72c8328
Keep readonly value while changing interpreters back and forth (#2508)
* restore TEVM

* fuzzing and property based

* comment

* lint

* stack callback into defer ater checking an error

* sequential tests
2021-08-10 09:48:56 +07:00
ledgerwatch
65a9a265c2
Prevent frequent commits to the node DB in sentries (#2505)
* Prevent frequent commits to the node DB in sentries

* Commit when btree goes over limit

* iterator for SeedQuery

* Fixing test

* Fix tests

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-09 09:52:42 +01:00
ledgerwatch
350d7fe7a9
Adding support for vmTrace into trace_ routines (#2497)
* VmTrace

* Fixes to gasCall, beginning of vmTrace

* Fix opcode tracer

* Add mem and store, enable vmTrace for all methods

* Fix lint

* More nuances and debugging|

* More fixes

* Fix for trace_callMany

* Fix for trace_callMany

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-08 13:28:03 +01:00
Alex Sharov
b666c67ea0
Remove concurrency from fee history and support request cancelation (#2504)
* remove fee history concurrency

* remove fee history concurrency

* add concext cancel support
2021-08-08 19:15:22 +07:00
Alex Sharov
6bf34b5cb8
RPC: eth_feeHistory (#2501)
* eth_FeeHistory

* eth_FeeHistory

* eth_FeeHistory

* lint

* lint
2021-08-08 14:27:47 +07:00
Alex Sharov
29380e4b46
parse dynFee tx corner case (#2500)
* parse dyn fee tx error

* parse dyn fee tx error

* lint
2021-08-08 14:27:34 +07:00
Alex Sharov
72e9660b74
RPC: eth_MaxPriorityFeePerGas (#2498) 2021-08-08 09:18:41 +07:00
alex.sharov
62c026e25a fix txpool key 2021-08-07 14:34:36 +07:00
alex.sharov
2c45a561f5 simplify logs 2021-08-07 14:07:59 +07:00
Alex Sharov
b718e46c0a
Grafana to show all stages progress, less spooky logs, no runtime logPrefix calculation (#2493)
* better logs, label-based metrics

* no runtime log prefix calculation

* clean

* dashboard to show all stages metrics
2021-08-07 11:11:45 +07:00
The-Coomer
c46540f56f
Update README to list all current 18 stages (#2486) 2021-08-04 10:33:37 +07:00
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
aeb2426b8c
etl call traces (#2481) 2021-08-02 11:26:42 +07:00
Alex Sharov
5444e70038
allow to run stages once if --nodiscover (#2470) 2021-07-31 12:25:56 +07:00