Commit Graph

3006 Commits

Author SHA1 Message Date
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
Alex Sharov
b5a6046fc3
sentry peerInfo race (#2666) 2021-09-11 16:12:03 +01:00
Alex Sharov
ed33b651cd
Print goroutines trace to STDOUT without app stop on SIGUSR1 (#2663) 2021-09-11 18:16:39 +07:00
Alex Sharov
87afc18cfd
increase fdlimit from all binaries (#2665)
(not only rpcdaemon)
2021-09-11 16:25:21 +07:00
Alex Sharov
3193f95152
Apply mined block (#2650) 2021-09-09 14:26:58 +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
alex.sharov
76fcb869c9 add prune mode to integration sender 2021-09-08 08:41:44 +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
2f5b1e490b
revert json iter pool change (#2627) 2021-09-07 09:54:00 +07:00
ledgerwatch
450bd5d655
Not to exclude traces to precompiles on the top level (#2635)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-06 16:36:44 +01:00
Alex Sharov
873ef75f39
Pool: grafana board (#2625) 2021-09-03 14:16:27 +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
Alex Sharov
cf026fdd91
Rpcdaemon race on chainConfig set (#2617) 2021-09-02 15:47:48 +07:00
Alex Sharov
953f348d1e
Pool: add grpc server (#2615) 2021-09-02 12:55:04 +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
ledgerwatch
6564d6a42f
Properly fix the case when gasPrice is not specified (#2607)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-09-01 09:26:24 +01:00
Zachinquarantine
5e713d6da6
Remove calaveras testnet (#2600)
* Remove calaveras

* Remove Calaveras testnet
2021-09-01 08:16:30 +07:00
Alex Sharov
143a0d0231
Pool: remove redundant prefix in txs table (#2603) 2021-08-31 21:59:30 +07:00
Alex Sharov
cfeac97156
Pool: state eviction (#2590) 2021-08-28 18:24:53 +07:00
Alex Sharov
1f480fa472
pool: make sender info unloadable (#2584)
* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss

* ss
2021-08-27 11:51:33 +07:00
Alex Sharov
10feb71530
Pool: handle "stop at non-canonical block" case (#2582) 2021-08-26 10:01:00 +07:00
Alex Sharov
caa1122dd3
consuming is slow (#2580) 2021-08-25 09:07:50 +07:00
Alex Sharov
f3021dd2af
RPC: small optimizations (#2564) 2021-08-24 08:28:58 +01:00
Alex Sharov
7e4db20427
pool: add own db (#2575)
* save

* save
2021-08-24 10:56:13 +07:00
Omar Ceja
63083657d4
Support for latest block in erigon_getHeaderByNumber (#2574)
Co-authored-by: Omar Ceja <oceja@users.noreply.github.com>
2021-08-24 09:13:51 +07:00
Leonardo Yvens
629969fdd6
rpc: Increase the default gas limit to 50 million (#2572)
To be consistent with the change in e9b2c80.
2021-08-23 21:30:21 +07:00
Alex Sharov
1d11dee5ca
Pool: senders cache - right merging and fallback logic (#2563)
* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save

* save
2021-08-21 22:04:24 +07:00
Alex Sharov
289e434b87
Pool: senders cache object, reject known tx before senders recover, fix lock contention (#2562)
* save

* save
2021-08-21 08:25:42 +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
ledgerwatch
e3114acc9e
Avoid crash with vmTrace (#2555)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-19 10:38:18 +01:00
Andrea Lanfranchi
00d627bdb0
Remove config.name (const "erigon") from paths (#2531)
* Remove config.name (const "erigon") from paths

* Fix unit test

* Safety check

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-18 16:24:03 +07:00
Alex Sharov
6c7edb0d34
state diff send to txpool (#2532) 2021-08-17 15:52:55 +07:00
alex.sharov
3d3a313565 disable slow integrity checks for trie by default 2021-08-15 19:45:38 +07:00
alex.sharov
55c67b1a43 add commit to stage_trie 2021-08-15 19:44:47 +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
cacc4c7e3b
fix integration trie nil pointer (#2533)
* fix integration trie

* fix integration trie
2021-08-15 16:47:44 +07:00
Alex Sharov
5278ef4224
experimental: txpool cmd (#2530)
* save

* sentry handshake

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* move sentry clients to erigon-lib

* correct grpc retry

* correct grpc retry

* correct grpc retry

* save

* save

* save

* save
2021-08-14 20:47:11 +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
Thomas Jay Rush
dfeabada77
Fixes issue #2527 and #2526 and adds testing to rpctest (#2528) 2021-08-13 20:45:09 +01:00
Alex Sharov
4f358fca88
Increase default private.api.ratelimit (#2521)
* increase default private.api.ratelimit

* increase default private.api.ratelimit
2021-08-13 16:51:59 +01:00
ledgerwatch
1135e2b4fb
[sentry] Enforce max protocol version as well as min protocol version (#2525)
* Print data

* E

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-13 16:51:18 +01:00
ledgerwatch
9f14d00788
Fix trace_filter crash (#2523)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-13 10:52:56 +01:00
Alex Sharov
f01a71a696
feehistory fix types to be compatible with spec (#2518) 2021-08-13 10:47:43 +07:00
ledgerwatch
42418d18ad
trace_call and trace_callMany to set gasPrice = basefee if not specified (#2513)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-08-12 09:13:23 +01:00
ledgerwatch
7d586d986d
Compatibility fixes for vmTrace (#2512)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-11 21:23:04 +01:00
Alex Sharov
f78484d141
Update README.md 2021-08-11 15:19:13 +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