Commit Graph

14253 Commits

Author SHA1 Message Date
Alex Sharov
04465e04df
increase read transactions limit to 32K (#2366) 2021-07-14 21:48:20 +07:00
Alex Sharov
356567676a
less allocs at call trace (#2363) 2021-07-14 21:34:23 +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 7c95f3911f.
2021-07-14 21:10:48 +07:00
Alex Sharov
7c95f3911f
buy gas optimize (#2360) 2021-07-14 21:10:20 +07:00
ledgerwatch
22abc0068c
Preverified hashes update for mainnet and ropsten (#2365)
Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2021-07-14 08:18:23 +01:00
ledgerwatch
d802e6367a
Update skip_analysis.go (#2364) 2021-07-14 07:52:32 +01:00
Alex Sharov
42b776ebb3
increase max msg limit for grpc (#2361) 2021-07-14 09:43:58 +07:00
Alex Sharov
b6b42930ad
simpify db logger (#2359)
* logger simplify db

* logger simplify db
2021-07-13 20:15:37 +07:00
Alex Sharov
855e9220fa
print better log (#2358) 2021-07-13 18:03:32 +07:00
ledgerwatch
336515124b
Sentry handshake fix (?) and not overwriting statusData with zero block (#2355)
* Not overwrite statusData from txpool status

* Report error when doing sentry handshake

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro.local>
2021-07-13 10:33:04 +01:00
Alex Sharov
75ee5db06f
Block read optimize (#2357) 2021-07-13 16:31:59 +07:00
alex.sharov
34ba380087 print better log 2021-07-13 15:47:05 +07:00
Alex Sharov
08590211e6
Add defer collector.Close() (#2351)
* add defer collector.Close

* add defer collector.Close
2021-07-13 09:17:21 +07:00
Alex Sharov
92df338ec8
ETL: Enforce "oldest appeared" property at load time (#2352) 2021-07-13 09:17:15 +07:00
Alex Sharov
623a3feeee
RPC: return all stages progress inside eth_syncing (#2353) 2021-07-13 09:17:05 +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
2a8f1959a5
cleans (#2349) 2021-07-12 15:56:20 +07:00
alex.sharov
f042b5310f delete dependabot 2021-07-12 13:54:13 +07:00
Alex Sharov
134e164fe7
crash reports don't write to files - logger is enough (#2342) 2021-07-12 13:39:44 +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
b38d3fc34b
don't print peer logs on shutdown (#2341) 2021-07-11 16:16:17 +07: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
f2f92d41c8 update readme about docker 2021-07-11 12:23:04 +07:00
Alex Sharov
c40370ad4c
Update README.md 2021-07-11 12:04:19 +07:00
Alex Sharov
5eaf4c8cc3
rpc: 1559 in call and tracing (#2327) 2021-07-11 04:05:56 +00:00
Alex Sharov
2ec64aee1d
Simplify mining (#2339)
* save

* save
2021-07-11 04:05:33 +00:00
Andrea Lanfranchi
f909be7157
Update kv_interface.go (#2338)
Amend comment
2021-07-10 18:15:31 +07:00
Alex Sharov
43af5d42b8
simplify staged sync world (#2336)
* simplify world

* simplify world

* simplify world
2021-07-10 16:43:58 +07:00
Alex Sharov
7cbe6e9f28
add swap metrics (#2333) 2021-07-10 12:19:29 +07:00
Alex Sharov
e340fa0deb
remove azure deps (#2334) 2021-07-10 12:00:58 +07:00
Marin Ivanov
c89ec2047e
Add parameter for minimum time between sync loop iterations (#2332)
* Add parameter for minimum time between sync loop iterations

* Rename cli parameter --throttle.minLoopTime => --sync.loop.throttle
2021-07-10 09:19:44 +07:00
alex.sharov
5d4c7237dc 1559_rpc_call_and_tracing 2021-07-09 17:54:27 +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
Juuso Haavisto
e81b3f7638
Docker: explicitly declare base image source (#2322)
Some container engines such as podman have started to prompt the user to explicitly state (thus sometimes causing service scripts on systemd) to fail for lack of mentioning what container image hub is used. This change declares the hub to be docker.io, thus removing the prompt on systems that use podman.
2021-07-09 16:45:18 +07:00
Alex Sharov
3fcb6187f2
DockerHub support (#2325) 2021-07-09 16:40:11 +07:00
Alex Sharov
3347068dc5
mainnet london block and port some go-ethereum fixes related to baseFee (#2324) 2021-07-09 16:16:34 +07:00
Alex Sharov
fbf2a6bf98
Docker (breaking changes): use thorax/erigon image (#2277) 2021-07-09 15:37:36 +07:00
Alex Sharov
e5ea85005e
eth_call base_fee (#2319) 2021-07-09 00:04:31 +07:00
Alex Sharov
e98340d806
Simplify stagedsync.Prepare (#2317) 2021-07-08 20:52:22 +07:00
Alex Sharov
5ceaac53f6
batch cancel (#2314) 2021-07-08 19:40:49 +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
360735318b
rpc: add --rpc.batch.concurrency flag (#2308) 2021-07-07 10:48:21 +07:00
b00ris
57473175ff
Body snapshot (#2100)
* fix test

* get rid of ObjectDatabase

* sn_builder_prototype2

* save state

* save state

* integration step1

* fix lint

* fix

* fix test

* integrate migrator.finish

* fix lint

* fix build

* fix typo

* save state

* body snapshot test

* unique tx

* body snapshot generation using walk

* move methods out of test

* block data verification added

* fix lint

* test with remove works correctly

* fix lint

* remove experiment test

* fix test

* add comment

* add second layer of remove test

* rename test

* fix typos

* fix lint

* revert testdata

* body snapshot migration save state

* fix body snapshot migration

* fix after merge

* remove debug test

* debug windows build

* fix build

* fix

* fix lint

* debug

* fix

* fix windows build

* simplify snapshot management&&get rid of lazy tx

* fix lint

* fix windows path

* debug

* debug

* debug

* debug

* remove geometry experiments

* skip windows tests

* clean

* fix

* fix ;int
2021-07-06 23:33:26 +01:00
Alex Sharov
ea5abbe0b5
mdbx: add trace info to open error (#2305)
* add stack info to open error

* add stack info to open error
2021-07-05 19:53:11 +01:00