Commit Graph

398 Commits

Author SHA1 Message Date
Giulio rebuffo
f8916e9226
Made Lightclient default (#5813)
lightclient cl is default, for external cl, run `--externalcl`
2022-11-10 17:06:04 +00:00
Thomas Taylor
4310aa4032
etl-temp location changed so cleaning up docs (#5924)
It seems this got changed around so that `temp` is used but the docs
were not changed.
2022-11-01 13:19:28 +07:00
Daniel DeLima
dcb42b1537
Improved readability in README System Requirements section (#5843) 2022-10-23 19:25:20 +07:00
Max Revitt
07ffa36d44
File system logging (#5812)
- lives in internal/logging
- all log flags moved to internal/logging/flags
- allows continued use of root logger via log.Info etc.
- update logger to take change allowing string to lvl for 'trace'

Verbosity flag is overridden by log.console.verbosity. Logs will be
colocated if all run as one process, only split where progs are run as
separate processes, in a future update this will be addressed so for
example rpcdeamon will always log to it's own file
2022-10-20 19:25:06 +01:00
Reinhard Schu
cdb5d5bf5e
Update README.md (#5648)
Updated docs, following dropping alpha/beta branches
2022-10-06 18:26:02 +01:00
Alex Sharov
ca9aa4723c
Compress params change (#5631)
as of https://github.com/ledgerwatch/erigon-lib/pull/651
2022-10-05 17:54:54 +07:00
ledgerwatch
49aeb53988
Fail newPayload if execution is unsuccessful (#5553)
* Fail newPayload if execution is unsuccessful

* fix linter

* fix message

* no self-hosted

* try force ci

* back to unbuntu

* Remove unnecessary unwinds

* Fix canonicalising

* Quiet logs for in-memory exec

* Remove experimental overlay flag

* Fix sync test

* Fix test

* Fix lint

* Print hash in the end of the cycle

* Not notify headers if list is empty

* Supress timings and tables logs when no change in progress

* Reduce logging

* fix

* better log for pos download

* Better newPayload and forkChoice messages

* Fix lint

* simplify

* No duplication of download messages

* Reverse log for extension

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
Co-authored-by: Igor Mandrigin <i@mandrigin.ru>
2022-09-29 06:38:13 +01:00
Enrique Jose Avila Asapche
511a5373f6
Config flag upgrade (#5491)
* allowing different values other than strings

* updated readme

* ops

* better error msg
2022-09-26 09:10:14 +07:00
Max Revitt
8f7ce51e11
feat(hive): add a few more exclusions (#5197)
* feat(hive): add a few more exclusions

* fix(ci): coverage badge fix
2022-08-27 09:34:15 +07:00
Andrew Ashikhmin
465c586ef4
Fix description of --prune=r flag (#5193)
* Fix description of --prune=r flag

* Small correction
2022-08-26 18:36:31 +07:00
Alireza Arjmand
8a5ceb7def
fixed some typos (#5158) 2022-08-24 09:52:31 +07:00
Reinhard Schu
bebf4a0399
Update README.md (#5153)
Updated the "getting started" instructions to direct normal users to building the latest alpha release (rather than devel).

A similar change was previously made to the README.md in the alpha branch only. However, since the git repo defaults to the devel branch, most users will still see the README.md in the devel branch first. This may inadvertently guide new users to build the devel branch. Hence the change to the README.md in the devel branch.

An alternative option would be to default the git repo to the alpha branch, rather than the devel branch.
2022-08-23 19:59:34 +07:00
Marius Kjærstad
ede0d43708
Specify execution client (#5129)
Specify execution client
2022-08-22 13:06:26 +07:00
Enrique Jose Avila Asapche
18f9313c85
added config file slice support (#5122)
* added config file slice support

* ReadMe update
2022-08-19 16:20:51 +07:00
Enrique Jose Avila Asapche
f0c7235f97
Pruning Receipts Default (#5065) 2022-08-15 17:21:18 +03:00
Alex Sharov
fa223eef24
Win path (#5056) 2022-08-15 08:45:23 +07:00
Henrique Barcelos
f868bf6678
docs: add --authrpc.port flag to instructions to run multiple instances on the same host (#4994)
* Multiple instances: add `--authrpc.port` flag

Fix #4993.

* Fix instructions for running multiple instance in one machine

* Refactor: reorganize the order of the flags
2022-08-11 11:37:02 +07:00
Andrew Ashikhmin
5ea692f2de
Remove authrpc.* flags from rpcdaemon (#4931)
* README: Move port 8551 from RPC to erigon ports

* Some renaming for consistency

* Remove authrpc.* flags from rpcdaemon

* docker-compose: move --authrpc.jwtsecret to erigon

* minor typo
2022-08-04 12:51:01 +02:00
Shinto C V
3c7a2c4376
Fix perma link to beacon chain in README (#4919) 2022-08-04 08:32:23 +07:00
Andrew Ashikhmin
7199dcf7a2
Rename engine.* flags to authrpc.* for consistency with geth (#4890)
* Update README re. Engine API

* Remove obsolete code

* Don't apply --rpc.accessList to Engine API listener

* Simplify startAuthenticatedRpcServer

* Rename engine.* cmd flags to authrpc.* for consistency with geth

* More renamings

* Introduce --authrpc.vhosts flag
2022-08-02 13:15:01 +07:00
Leonard Chinonso
d866b11923
Added a documentation section to the README.md (#4865) 2022-07-29 21:06:59 +07:00
Alex Sharov
454cea4811
docs cli antipattern (#4859)
* save

* save
2022-07-29 09:48:24 +07:00
Max Revitt
0d979e18aa
fix(readme): latest badge.svg gist links (#4795) 2022-07-22 18:18:45 +03:00
Max Revitt
37ba45a627
feat(ci): badges for hive and code coverage on devel (#4793)
* feat(ci): badges for hive and code coverage on devel

* feat(ci): hive CI tidy up (#2)

run hive on successful CI only
run on non-draft PR only
2022-07-22 17:09:50 +02:00
Max Revitt
d6001225e7
feat(makefile): add documentation and coverage command (#4792) 2022-07-22 14:26:18 +02:00
Andrew Ashikhmin
eec5fa4d41
Add support for eth/67 (#4564)
* Add eth/67

* Listen to eth/66 on a separate port

* Fix compilation error

* Fix cfg66.ListenAddr

* Update erigon ports in README

* Expose port 30304 in docker

* P2pProtocolVersionFlag instead of second sentry

* Remove "66 by default" from usage

* Small comment
2022-07-08 11:14:16 +02:00
Justin
7e9d65abdf
adding buildkit fix to the known issues (#4594) 2022-06-30 20:25:05 +02:00
Cory
74cf9840ae
Patch plumbing of docker-compose UID/GID build args (#4527)
* Patch plumbing of docker-compose UID/GID build args

* Fallback to 1000/1000 if DOCKER_(U|G)ID not set

* Revise README.md instructions for docker further

* Fix existing typo forc 'servie' -> 'service'

* Rename PUID/GUID -> UID/GID

* Specify user in erigon docker service

* Rely on .env instead of specifying :-1000

* Polish Makefile for docker use case

* one more helpful comment

* make docker should use UID/GID --build-arg

* Fix make docker and more fail-fast if envvar set incorrect

* mv .env->.env.example to not intefere existing workflows

* Specify envvars in docker CI

* Adjust validate_docker_build_args to permit non-erigon user

* Also run docker CI target on macos-11 os

* Add DOCKER_UID, DOCKER_GID in hooks/build

* Patch docker build arg validation for macos

* Add actions-setup-docker@master for macos

* Don't run automated test for docker macos

* Cleanup Makefile

* Comments, targets for erigon users

* More Makefile cleanup, debugging still

* Typo fix

* Create subdirs before calling ls

* Get rid of flaky validation

* DOCKER_UID, DOCKER_GID init to runner if not set

* Get rid of unnecessary variable for now

* Improved README based on new changes

* Proper uid/gid `make user_*` when no envars set

* Fix typo in Makefile comment

* Fix make docker as sudo user
2022-06-30 16:11:37 +06:00
Andrew Ashikhmin
dc5d3ffaac
Revert "Switch from eth/66 to eth/67 (#4549)" (#4562)
This reverts commit 16e57aa8a2.
2022-06-28 13:42:35 +02:00
Andrew Ashikhmin
16e57aa8a2
Switch from eth/66 to eth/67 (#4549)
* Switch from eth/66 to eth/67

* Fix a compilation error

* Update erigon-lib

* Refresh erigon-lib
2022-06-28 10:12:48 +02:00
ValValu
4897f03cbd
Update Readme re http=false (#4550)
if you wish to separate node from rpcdaemon need to launch with -http=false or rpcdaemon will not launch as port occupied by erigon
2022-06-27 13:10:45 +02:00
Nathan (Blaise) Bruer
2514fca7cb
Fix documentation of deprecated --syncmode -> --snapshots (#4376) 2022-06-05 19:13:32 +01:00
Nathan (Blaise) Bruer
ed1140e7a6
Add documentation on how to build in docker with BuildKit (#4375)
A recent change now causes docker-compose to use buildkit. This
change just documents how to run docker-compose with buildkit.
2022-06-05 19:13:25 +01:00
Alex Sharov
848820de02
readme modularity (#4348) 2022-06-03 10:16:21 +07:00
Alex Sharov
318a08f810
readme alpha/beta (#4345) 2022-06-03 09:06:54 +07:00
Alex Sharov
ee32acec2f
readme alpha/beta (#4342) 2022-06-03 09:04:17 +07:00
Victor Deleau
f5cd12620c
add information about how to run make docker-compose as non-root user (#4296)
Co-authored-by: victordeleau <>
2022-05-29 18:58:55 +01:00
Krishna Upadhyaya
75b93aca47
Updated README (#4180) 2022-05-17 17:41:40 +07:00
Andrew Ashikhmin
15ddd32e75
Engine API: remove unauth port (#4111)
* Engine API: remove unauth port

* Remove reduntant auth from variable names
2022-05-10 13:04:52 +02:00
Alex Sharov
6903587b11
Add link about rqspbery po (#4022) 2022-04-29 07:23:40 +07:00
gaia
7e07a3149a
Added Goerli Full Node Space Requirements (#4021) 2022-04-28 19:42:30 +01:00
Alex Sharov
0a31835943
Update README.md (#3989) 2022-04-27 12:29:25 +07:00
Alex Sharov
8d31cb7bc4
Update README.md (#3988) 2022-04-27 12:11:57 +07:00
Alex Sharov
62f52909f3
Update README.md (#3987) 2022-04-27 12:08:26 +07:00
Alex Sharov
5304781ebe
Update README.md (#3985) 2022-04-27 11:46:08 +07:00
Alex Sharov
72f3fbfa56
Update README.md (#3984) 2022-04-27 11:45:13 +07:00
Andrew Ashikhmin
4d2db4467e
FullSync instead of FastSync (#3980) 2022-04-26 17:19:24 +02:00
Alex Sharov
230a21cfff
Snapshots: rare nil pointer at fresh start (#3958) 2022-04-25 13:40:15 +07:00
alex.sharov
3d357919ca save 2022-04-22 11:07:54 +07:00
alex.sharov
48973f8d61 Readme update: built-in rpc daemon and syncmode=snap 2022-04-21 14:36:39 +07:00
alex.sharov
3fc0bf6147 Readme update: built-in rpc daemon and syncmode=snap 2022-04-21 14:36:02 +07:00
alex.sharov
c9eb5a12ed Readme update: built-in rpc daemon and syncmode=snap 2022-04-21 14:35:30 +07:00
Alex Sharov
d44e1cbe43
Readme update: built-in rpc daemon and syncmode=snap (#3924)
* save

* save
2022-04-21 14:34:08 +07:00
Defido Coin
280204bcc9
Update README.md (#3882)
Fixed important between
2022-04-13 17:51:03 +01:00
Alex Sharov
7ddb7ad562
Update README.md 2022-04-03 09:40:11 +07:00
Giulio rebuffo
f4bf94f78a
Fixed Erigon README for Authentication API and jwt.hex generates in Datadir (#3757)
* added datadir jwt

* fixed readme
2022-03-24 09:10:29 +07:00
Andrew Ashikhmin
5bbc98009b
Bump storage space recommendation to 3TB (#3638)
* Bump storage space recommendation to 4TB.

* OK, 3TB instead of 4TB

* SSD performance deteriorates when close to capacity
2022-03-03 21:54:17 +07:00
Alex Sharov
54e02b05f4
Update README.md 2022-03-03 17:43:55 +07:00
Andrew Ashikhmin
f58e80bd56
Expose eth API on the same ports as engine API (#3633)
* Expose port 8551 (authenticated Engine API)

* Expose eth API on the same ports as engine API
2022-03-02 14:58:46 +01:00
Thomas Jay Rush
1e42e0679a
Updating README to include running two instances on the same machine. (#3460)
* Updating README to include running two instances on the same machine.

* Updating formatting
2022-02-09 22:11:47 +00:00
Giulio rebuffo
a75c625d3e
Watchtheburn flag for enabling watch the burn stage (#3325)
* now watch-the-burn needs to be enabled

* refine

* ops

* readme.md

* ops
2022-01-25 17:36:21 +00:00
Enrique Jose Avila Asapche
2aa1ebf9f6
Separate Server For Engine API (#3332) 2022-01-25 19:44:35 +03:00
Gregory Popovitch
43f9511b78
Update README.md (#3209) 2022-01-05 17:19:12 +01:00
Alex Sharov
684786fd80
Update README.md 2021-12-02 07:57:52 +07:00
Alex Sharov
233c5f1ce9
Update README.md 2021-11-28 22:52:28 +07:00
Andrea Lanfranchi
7ddb0be92d
Update README.md (#2981) 2021-11-18 07:03:25 +00:00
Alex Sharov
39b5cf289a
Update README.md 2021-11-16 15:29:42 +07:00
Giulio rebuffo
ab4c080cbc
Merge pull request #2939 from ledgerwatch/enginev1
Dropped ETH65
2021-11-10 21:44:39 +01:00
Christian
832bae93c6
Dev Chain Tutorial (#2936) 2021-11-09 17:48:16 +07:00
Giulio Rebuffo
f34ccb75e5 refactor downloader 2021-11-07 20:25:37 +01:00
jt9897253
ac04db824c
Eth2 does not work with --prune.r.older=2_000_000 (#2864)
The recommended pruning parameter `--prune.r.older=2_000_000` prunes too many blocks to successfully sync an Eth2 client.

At the time of writing, we're at block 13411141. That means with the above prune parameter, recipes of blocks older than 11411141 are pruned. This misses some required blocks, as the deposit contract was deployed at block 11184524 (see option `--contract-deployment-block` from [here](https://docs.prylabs.network/docs/prysm-usage/parameters/))

Instead, use the new `--prune.r.before 11184524` option together with `--prune htc`
2021-10-22 21:43:42 +07:00
Zachinquarantine
5da7fb64bf
Remove deprecated Whisper code (#2726) 2021-09-25 22:28:25 +07:00
Alex Sharov
0b776eead4
flag --txpool.v2 to enable --state.stream flag (#2718) 2021-09-22 15:39:51 +07:00
Alex Sharov
133eec0c7e
Pool: correct new pending txs notifications (#2715) 2021-09-21 17:35:28 +07:00
Alex Sharov
400c71b7ce
Pool: txID-based cache (#2697) 2021-09-17 10:31:20 +07: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
jt9897253
ac086830fe
Fix typo (#2630)
Changed `name if the chain` to `name of the chain`
2021-09-05 15:53:35 +07:00
Alex Sharov
953f348d1e
Pool: add grpc server (#2615) 2021-09-02 12:55:04 +07:00
Nick Paterno
93cff6a10d
Improve readme experience (#2609)
The `>` angle brackets are unnecessary and get in the way if you copy the entire sequence.
2021-09-01 22:53:01 +07:00
alex.sharov
54a0a3719b remove old line from readme 2021-08-30 09:48:04 +07:00
alex.sharov
4c353da461 remove old line from readme 2021-08-30 09:47:49 +07:00
alex.sharov
32c66a32b2 ss 2021-08-29 13:51:26 +07:00
The-Coomer
d9fd71462a
Update README.md to include information about beacon chain clients (#2593) 2021-08-29 13:43:31 +07:00
Chase Wright
b87c9e3623
Update README.md (#2566) 2021-08-23 11:12:20 +07:00
Alex Sharov
e5a9163902
btrfs autodefrag mention (#2554) 2021-08-19 15:29:28 +07:00
Alex Sharov
c3e1cfdac8
Pruning for: exec, log_index, tx_lookup, history stages (#2399)
* Pruning for: exec, log_index, tx_lookup, history stages

* Pruning for: exec, log_index, tx_lookup, history stages

* Pruning for: exec, log_index, tx_lookup, history stages

* Pruning for: exec, log_index, tx_lookup, history stages

* add tvm flag

* save

* db migration for storage mode
add flag --prune=
remove flag --storage-mode=
add flag --experiments=tevm,...
rename integration set_storage_mode to set_prune

* fix

* forward move of stages must skip everything before PruneTo

* keep in db progress of prune method

* keep in db progress of prune method

* simplify logs

* simplify logs

* simplify logs

* fix test

* simplify logs

* simplify logs

* simplify logs

* simplify logs

* remove callTraceSet as dupsort
use etl transform for txlookup prune
remove some logs

* cleanup tests a bit

* print_stages and eth_sync to show prune progress

* fix print_stages

* add readme about --prune.to flag

* more docs

* add --prune.history.older and other flags support

* fix migration on empty db

* better toString

* better toString
2021-07-20 21:03:19 +01:00
Marius
d085bf9a7f
docker-compose with minimal PID namespace and non-root permissions (#2397)
* Feat: only share the erigon container PID namespace with rpcdaemon instead of the entire host PID namespace.

* Feat: remove host UID:GUID mapping from erigon and rpcdaemon containers in favour of erigon user in Dockerfile. Adapted Makefile to pre-create mounted volumes to avoid permission issues at runtime.

* Feat: docker volume directories should always be owned by erigon user(1000:1000) regardless of the user that invoked the make command.

* Fix: don't chown here which breaks docker volume mounts.

* Fix: remove ERIGON_HOME Makefile variable and simplify recipe.
2021-07-19 20:40:09 +07:00
Alex Sharov
b7c3c15fc8
Update README.md 2021-07-19 18:11:39 +07:00
Alex Sharov
71a7e54db0
docker readme (#2394) 2021-07-18 15:22:35 +07:00
Marius
b69638b58e
Feat: Experimental workaround for dockerized rpcdaemon in Local-Mode. Fix some permissions issues in docker containers. (#2392) 2021-07-18 14:42:23 +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
Andrea Lanfranchi
62476f0e07
Change MDBX tools build location so it does not dirty submodule (#2223)
* Change MDBX build location so it does not dirty submodule

* Update README.md

* Update README.md
2021-06-23 13:25:06 +02:00
Alex Sharov
e9f510c2b7
erigon as lib (#2186) 2021-06-18 10:35:11 +07:00
Artem Vorotnikov
af836a6200
Nuke LMDB (#2167) 2021-06-16 13:57:58 +03:00
Alex Sharov
82b620f4f0
Update README.md 2021-06-06 20:27:01 +07:00
alex.sharov
3aeb186bd1 db faq about RAM 2021-06-06 20:02:15 +07:00
Chase Wright
b8d06a0cd0
Add Docker Dual-Mode issue to Known Issues (#2090) 2021-06-03 18:33:58 +01:00
Andrea Lanfranchi
aa1f64eb78
Win build patch 2 (#2054)
* More strict path enforcement for Mingw compilers

* Update Readme about antiviruses

* Update README.md incomplete links

* Incomplete link
2021-05-30 19:14:28 +01:00
Andrea Lanfranchi
cdcf9a10be
Mdbx wsl2 (#2048)
* wsl2

* Handle PS crash for garbage keys

* More strict error checking

* Update readme for reintroduced WSL support

* Wrong htop display only for LMDB

* Wrong link in Readme

* A further note on WSL IP address

Co-authored-by: alex.sharov <AskAlexSharov@gmail.com>
2021-05-29 14:16:53 +01:00