Commit Graph

211 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
798c2d64a4
Pool: no state presistance (#2646) 2021-09-08 19:33:14 +07:00
Alex Sharov
2d8941a845
Pool: built-in v2 (#2643) 2021-09-08 12:31:51 +07: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
daf945dc13
Rpcdaemon: handle "WaitGroup is reused before previous Wait has returned" panic on shutdown (#2619) 2021-09-02 16:36:56 +07:00
Alex Sharov
953f348d1e
Pool: add grpc server (#2615) 2021-09-02 12:55:04 +07:00
Alex Sharov
9e1fc980a7
Pool: batch incoming p2p transactions (but preserve "don't recover sender twice" property) (#2608) 2021-09-01 16:10:00 +07:00
Alex Sharov
edb83d1ed9
Roaring bitmap lib version up (#2606) 2021-09-01 12:09:04 +07:00
Alex Sharov
143a0d0231
Pool: remove redundant prefix in txs table (#2603) 2021-08-31 21:59:30 +07:00
Alex Sharov
fb9ee7177a
Pool: correct use of base fee (#2597)
* pool: add new empty sender to eviction

* pool: correct use of baseFee
2021-08-30 20:59:40 +07:00
Alex Sharov
74c2a1a317
pool: add new empty sender to eviction (#2596) 2021-08-30 11:49:43 +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
38ea553300
Mdbx v0.10.1 (#2578) 2021-08-25 09:40:23 +07:00
Alex Sharov
7e4db20427
pool: add own db (#2575)
* save

* save
2021-08-24 10:56:13 +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
f5c6def4bc
close db (#2548) 2021-08-18 15:50:22 +07:00
Alex Sharov
d5b9abab7d
reduce log level in tests (#2546)
* hack

* hack

* hack

* less debug logs in tests

* less debug logs in tests
2021-08-18 14:25:03 +07:00
Alex Sharov
ccc22c9f6a
add ms to logs (#2544) 2021-08-17 22:39:38 +07:00
Alex Sharov
6c7edb0d34
state diff send to txpool (#2532) 2021-08-17 15:52:55 +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
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
e9210e4e09
lint (#2502) 2021-08-08 11:48:32 +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
6e24a83065
extract kv interface from remoteKv client (#2494) 2021-08-07 12:03:12 +07:00
Richard Patel
7767b4df88
rpcdaemon: add txpool_status() (#2407)
perfecto
2021-08-06 09:45:44 +07:00
alex.sharov
a2b97d59ae remove zap logger 2021-07-30 10:04:23 +07:00
Alex Sharov
6bd44eb26c
move kv to erigon-lib (#2467) 2021-07-29 18:53:13 +07:00
Alex Sharov
847f9916c3
mdbx_v0_10_2 (#2449) 2021-07-29 17:28:07 +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
Alex Sharov
f1345e827d
remove ipc package (#2405)
* remove ipc package

* remove ipc package

* remove ipc package

* remove ipc
2021-07-20 15:34:04 +07:00
Alex Sharov
ecf0f6c2f0
remove signify package (#2404) 2021-07-20 13:48:53 +07:00
Alex Sharov
9f6ef74adc
Linter: to check tx.Rollback() by ruleguard (#2383) 2021-07-16 20:23:54 +07:00
Alex Sharov
04465e04df
increase read transactions limit to 32K (#2366) 2021-07-14 21:48:20 +07:00
dependabot[bot]
95b3448387
Bump github.com/VictoriaMetrics/fastcache from 1.5.8 to 1.6.0 (#2345)
Bumps [github.com/VictoriaMetrics/fastcache](https://github.com/VictoriaMetrics/fastcache) from 1.5.8 to 1.6.0.
- [Release notes](https://github.com/VictoriaMetrics/fastcache/releases)
- [Commits](https://github.com/VictoriaMetrics/fastcache/compare/v1.5.8...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/VictoriaMetrics/fastcache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 13:39:02 +07:00
dependabot[bot]
b1177697ad
Bump github.com/urfave/cli from 1.22.4 to 1.22.5 (#2344)
Bumps [github.com/urfave/cli](https://github.com/urfave/cli) from 1.22.4 to 1.22.5.
- [Release notes](https://github.com/urfave/cli/releases)
- [Changelog](https://github.com/urfave/cli/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/urfave/cli/compare/v1.22.4...v1.22.5)

---
updated-dependencies:
- dependency-name: github.com/urfave/cli
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-12 13:38:43 +07:00
Alex Sharov
188dfb14b8
txPool: propagate on peer connect (#2335) 2021-07-11 14:01:16 +07:00
Alex Sharov
e340fa0deb
remove azure deps (#2334) 2021-07-10 12:00:58 +07: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
dependabot[bot]
7cca5abfea
Bump github.com/google/btree from 1.0.0 to 1.0.1 (#2299) 2021-07-05 14:05:09 +07:00
dependabot[bot]
feb67c773a
Bump github.com/rs/cors from 1.7.0 to 1.8.0 (#2298) 2021-07-05 14:05:00 +07:00
Alex Sharov
c029bbe7fa
fix metrics (#2292) 2021-07-04 10:25:07 +07:00
dependabot[bot]
337ac7a633
Bump github.com/pelletier/go-toml from 1.9.0 to 1.9.3 (#2280) 2021-07-03 16:12:44 +07:00
dependabot[bot]
d4752cf1e2
Bump github.com/shirou/gopsutil/v3 from 3.21.4 to 3.21.6 (#2279) 2021-07-03 16:12:36 +07:00