Commit Graph

14399 Commits

Author SHA1 Message Date
Alex Sharov
6c7edb0d34
state diff send to txpool (#2532) 2021-08-17 15:52:55 +07:00
Eugene
e4dfbb24b3
Update tutorial.rst for building custom rpc daemon. (#2535)
* docs: update custom rpc daemon tutorial

* docs: update custom rpc daemon tutorial

* docs: update custom rpc daemon tutorial
2021-08-16 10:12:15 +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
39e066a121
Fix deadlock in nodedb (#2524)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-13 11:16:09 +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
racytech
1a22191a3d
removed meaningless code (#2519) 2021-08-13 10:49:15 +07:00
Alex Sharov
f01a71a696
feehistory fix types to be compatible with spec (#2518) 2021-08-13 10:47:43 +07:00
Igor Mandrigin
a6b1795cf9 begin 2021.08.03 release cycle 2021-08-12 12:11:36 +03:00
ledgerwatch
d325daf529
Update skip_analysis.go (#2517) 2021-08-12 11:29:28 +03: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
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
6c2beb273e
Remove tsdb dependency (#2503)
* remove tsdb dep

* remove tsdb dep

* remove tsdb dep

* remove tsdb dep
2021-08-08 16:56:54 +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
e9210e4e09
lint (#2502) 2021-08-08 11:48:32 +07:00
Alex Sharov
72e9660b74
RPC: eth_MaxPriorityFeePerGas (#2498) 2021-08-08 09:18:41 +07:00
Alex Sharov
d617fca739
remove devp2p cmd - if we will support it then need do it in another repo (because it depends on account manager). (#2496)
* up cobra lib

* remove devp2p cmd - if we will support it then need do it in another repo (because it depends on account manager).
2021-08-08 09:17:08 +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
6e24a83065
extract kv interface from remoteKv client (#2494) 2021-08-07 12:03:12 +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
Richard Patel
743fe8d77b
README.md: add txpool_status (#2491) 2021-08-06 17:10:29 +07:00
Richard Patel
7767b4df88
rpcdaemon: add txpool_status() (#2407)
perfecto
2021-08-06 09:45:44 +07:00
Igor Mandrigin
dfa2800a6d begin 2021.08.02 release cycle 2021-08-05 12:01:42 +03:00
Igor Mandrigin
4f1b6fe7ef
Merge pull request #2488 from ledgerwatch/AlexeyAkhunov-patch-1
Update skip_analysis.go
2021-08-05 11:58:15 +03:00
ledgerwatch
7be3535c3d
Update skip_analysis.go 2021-08-05 09:21:00 +01:00
The-Coomer
c46540f56f
Update README to list all current 18 stages (#2486) 2021-08-04 10:33:37 +07:00
ledgerwatch
44f43312c9
Minor fixes for tracing (#2485)
* Minor fixes for tracing

* Typo in comment

* rpctest bench tracefilter to use limited number of accounts

* replay command to fail if there is a difference

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-08-03 20:58:18 +01: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
dc30b02c7b
Reduce default --blockDownloaderWindow (#2477) 2021-08-03 10:19:18 +07:00
alex.sharov
12982b21c1 remove old migration 2021-08-02 19:10:14 +07:00
alex.sharov
f5e30f293a remove old example from migrations package 2021-08-02 19:04:51 +07:00
Alex Sharov
e17e7b6656
enable http body close linter (#2479) 2021-08-02 14:52:54 +07:00
Alex Sharov
aeb2426b8c
etl call traces (#2481) 2021-08-02 11:26:42 +07:00
Alex Sharov
59b21e8ab8
print db path on open (#2480) 2021-08-01 17:09:39 +07:00
Alex Sharov
5444e70038
allow to run stages once if --nodiscover (#2470) 2021-07-31 12:25:56 +07:00
Alex Sharov
3ed0f5c83d
better prune error message (#2475) 2021-07-31 12:24:20 +07:00