Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[alpha] Move from devel #4059

Merged
merged 93 commits into from
May 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 commits
Select commit Hold shift + click to select a range
5058e45
Change version to alpha (#3926)
AlexeyAkhunov Apr 21, 2022
cedb486
docs: update libmdbx links (#3929)
battlmonstr Apr 21, 2022
a8f20f0
Makefile: refactor build flags and fix 1.17 (#3930)
battlmonstr Apr 22, 2022
dc5125e
Fix some cli flag descriptions (#3933)
MysticRyuujin Apr 22, 2022
65be763
min requirement to go 1.18 (#3934)
AskAlexSharov Apr 22, 2022
3d35791
save
AskAlexSharov Apr 22, 2022
c5b1836
Added Ethstats service (#3931)
Giulio2002 Apr 22, 2022
ab29bfc
Update bor mumbai config (#3937)
0xKrishna Apr 22, 2022
1bcd73d
Update ci.yml (#3936)
AlexeyAkhunov Apr 22, 2022
4a8eb34
Use heimdall url in integration bor consensus (#3940)
0xKrishna Apr 22, 2022
7a226ef
Downloader: re-use flags defaults (#3941)
AskAlexSharov Apr 22, 2022
0d6775f
torrent: print peers amount in logs (#3942)
AskAlexSharov Apr 22, 2022
92db317
Observer - P2P network crawler (#3928)
battlmonstr Apr 22, 2022
62c3775
Torrent conns print (#3943)
AskAlexSharov Apr 22, 2022
984eee6
[erigon2] Fuzz tests for commitment (#3939)
AlexeyAkhunov Apr 22, 2022
961f4f5
Introduce unlimited download rate (#3945)
AlexeyAkhunov Apr 22, 2022
6844e74
Replace ioutil with io and os (#3946)
estensen Apr 23, 2022
3ad25c9
Sentry GRPC: rename Peers to PeerEvents (#3944)
battlmonstr Apr 23, 2022
5e1900c
cleaned up forkchoices db insertions #3949
Giulio2002 Apr 24, 2022
8742141
fixed ethstats (#3951)
Giulio2002 Apr 24, 2022
874cd5d
bsc: disable snap sync (#3955)
AskAlexSharov Apr 25, 2022
8116fb1
bsc: disable snap sync (#3956)
AskAlexSharov Apr 25, 2022
b4774a8
Snapshots: support empty buf case (#3957)
AskAlexSharov Apr 25, 2022
230a21c
Snapshots: rare nil pointer at fresh start (#3958)
AskAlexSharov Apr 25, 2022
e2fec2a
got rid of the automatic usage of net api (#3952)
enriavil1 Apr 25, 2022
fc3eeca
RPC: admin.peers() (#3960)
battlmonstr Apr 25, 2022
07367c2
sentry: refactor flags, add maxpeers. (#3961)
battlmonstr Apr 25, 2022
538543a
Experiment files 1 by 1 (#3959)
AlexeyAkhunov Apr 25, 2022
9c2ea3d
Update stage_headers.go (#3966)
AlexeyAkhunov Apr 26, 2022
6865f25
Snapshots: open bittorrent udp port in docker (#3969)
AskAlexSharov Apr 26, 2022
dba9544
Delete blocks in [from, to) range (#3970)
AskAlexSharov Apr 26, 2022
3906d7e
Snapshots: allow stage_headers --unwind behind available snapshots (#…
AskAlexSharov Apr 26, 2022
e04f7fc
Integration: allow headers --reset (#3972)
AskAlexSharov Apr 26, 2022
61515ed
Bsc: enable syncmode=snap by default #3973
AskAlexSharov Apr 26, 2022
04f3e90
rlp: add support for optional struct fields (#22832) (#3977)
battlmonstr Apr 26, 2022
3e1d4fa
Forgot to check err status (#3978)
yperbasis Apr 26, 2022
b5a2a62
Potential fix for verification (#3962)
AlexeyAkhunov Apr 26, 2022
13d6619
p2p/discover/v4wire: use optional RLP field for EIP-868 seq (#3963)
battlmonstr Apr 26, 2022
4d2db44
FullSync instead of FastSync (#3980)
yperbasis Apr 26, 2022
72f3fbf
Update README.md (#3984)
AskAlexSharov Apr 27, 2022
5304781
Update README.md (#3985)
AskAlexSharov Apr 27, 2022
62f5290
Update README.md (#3987)
AskAlexSharov Apr 27, 2022
8d31cb7
Update README.md (#3988)
AskAlexSharov Apr 27, 2022
0a31835
Update README.md (#3989)
AskAlexSharov Apr 27, 2022
b25cbb4
save (#3983)
AskAlexSharov Apr 27, 2022
5ec90a1
Update to erigon-lib main (#3992)
AlexeyAkhunov Apr 27, 2022
8de3e8d
TxLookup fix 2 (#3994)
AskAlexSharov Apr 27, 2022
6c9d515
No NewBlock gossip after Merge (#3995)
yperbasis Apr 27, 2022
c9b26c2
Check that safe & finalized blocks are canonical for no-op forkChoice…
yperbasis Apr 27, 2022
ad4182c
Re-introduced cleanup of temporary table (#3999)
AlexeyAkhunov Apr 27, 2022
7b24090
Update skip_analysis.go (#4003)
AlexeyAkhunov Apr 27, 2022
ea8a347
Downloader: calc stat inside, add --torrent.download.slots and limit …
AskAlexSharov Apr 28, 2022
7558730
p2p: speed-up TestUDPv4_LookupIterator (#4000)
battlmonstr Apr 28, 2022
c6649f5
p2p: refactor MaxPendingPeers handling (#3981)
battlmonstr Apr 28, 2022
d2ce562
downloader stuck on 99.9% fix #4004
AskAlexSharov Apr 28, 2022
d0ce0df
Open only existing torrent files (#4007)
AskAlexSharov Apr 28, 2022
8b8c442
Open shorter logs #400
AskAlexSharov Apr 28, 2022
53d7b6d
Fix empty "Tables" log line (#4008)
AskAlexSharov Apr 28, 2022
43ddea2
Torrent: maxpeers flag were used incorrectly
AskAlexSharov Apr 28, 2022
2655d57
reduce downloader deps (#4010)
AskAlexSharov Apr 28, 2022
831da9b
reduce downloader deps (#4011)
AskAlexSharov Apr 28, 2022
eda385e
Handle system-txn in block_reader (#4012)
AskAlexSharov Apr 28, 2022
bd3b734
[integration tool] Clean BorReceipt when reset state (#4013)
AlexeyAkhunov Apr 28, 2022
352869f
rename field "type" (#4015)
AskAlexSharov Apr 28, 2022
76c36c2
typed sender (#4016)
AskAlexSharov Apr 28, 2022
4b3eb0f
Observer: fix panic on clean start (#4002) (#4017)
battlmonstr Apr 28, 2022
f9858ff
Add override.terminaltotaldifficulty flag (#4018)
yperbasis Apr 28, 2022
17fb707
p2p: fix flaky TestUDPv5_lookupE2E (#4020)
battlmonstr Apr 28, 2022
7e07a31
Added Goerli Full Node Space Requirements (#4021)
gaia Apr 28, 2022
bc2e9e7
p2p: crawler-friendly handshake (#3982)
battlmonstr Apr 28, 2022
6903587
Add link about rqspbery po (#4022)
AskAlexSharov Apr 29, 2022
285c782
More efficient header verification of headers for Parlia when snapsho…
AlexeyAkhunov Apr 29, 2022
38e8706
Docker build: make db-tools to depend on git-submodules (#4024)
AskAlexSharov Apr 29, 2022
77560b6
More careful handle of sequences in stage_headers --reset (#4023)
AskAlexSharov Apr 29, 2022
af5bdce
added ovveride merge fork block (#4027)
Giulio2002 Apr 29, 2022
a13c5ba
Fix non-starting download (#4031)
AskAlexSharov Apr 30, 2022
93ab7f5
save (#4032)
AskAlexSharov Apr 30, 2022
e0d7998
Truncate bor receipts on unwind (#4033)
AlexeyAkhunov Apr 30, 2022
47f4926
eth/filters: Fix filterLogs() (#4036)
eval-exec Apr 30, 2022
c896807
index segments by maximum by 2 workers #4041
AskAlexSharov May 1, 2022
533970d
trace read parent header from snapshot and lru #4042
AskAlexSharov May 1, 2022
e688798
make sure stage_headers --reset doesn't left garbage in bodies table …
AskAlexSharov May 1, 2022
14cbc01
Fix for Bor (Polygon) (#4044)
AlexeyAkhunov May 1, 2022
f9d7cb5
Cleanup isBor (#4045)
AlexeyAkhunov May 1, 2022
e758fb8
Speed up docker image build by use layer cache (#4038)
eval-exec May 2, 2022
cf44803
state_processor: fix ignored SkipAnalysis() result (#4046)
iAmGroute May 2, 2022
2e4947b
p2p: improve test TestTable_findnodeByID (#4047)
battlmonstr May 3, 2022
1e5e8d6
Update skip_analysis.go (#4052)
AlexeyAkhunov May 3, 2022
f297a28
More relax inclusion of headers in the downloader (#4050)
AlexeyAkhunov May 3, 2022
4e683e1
Revert "Speed up docker image build by use layer cache (#4038)" (#4054)
AlexeyAkhunov May 3, 2022
18b51b1
Increase max DB size to 8 Tb for chain data only (#4055)
AlexeyAkhunov May 3, 2022
b520372
Merge remote-tracking branch 'origin/devel' into pre-alpha
May 3, 2022
3cb5b91
Point to erigon-lib alpha
May 3, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ RUN apk --no-cache add make gcc g++ linux-headers git bash ca-certificates libgc
WORKDIR /app
ADD . .

# expect that host run `git submodule update --init`
RUN make erigon rpcdaemon integration sentry txpool downloader hack db-tools
RUN make erigon rpcdaemon integration sentry txpool downloader hack observer db-tools

FROM docker.io/library/alpine:3.15

Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ GO_FLAGS += -ldflags "-X ${PACKAGE}/params.GitCommit=${GIT_COMMIT} -X ${PACKAGE}

GOBUILD = $(CGO_CFLAGS) $(GO) build $(GO_FLAGS)
GO_DBG_BUILD = $(DBG_CGO_CFLAGS) $(GO) build $(GO_FLAGS) -tags $(BUILD_TAGS),debug -gcflags=all="-N -l" # see delve docs
GOTEST = GODEBUG=cgocheck=0 $(GO) test $(GO_FLAGS) ./... -p 2
GOTEST = GODEBUG=cgocheck=0 $(GO) test $(GO_FLAGS) ./... -p 2 -tags $(BUILD_TAGS),integration

default: all

Expand All @@ -29,7 +29,7 @@ go-version:
exit 1 ;\
fi

docker:
docker: git-submodules
DOCKER_BUILDKIT=1 docker build -t erigon:latest --build-arg git_commit='${GIT_COMMIT}' --build-arg git_branch='${GIT_BRANCH}' --build-arg git_tag='${GIT_TAG}' .

xdg_data_home := ~/.local/share
Expand Down Expand Up @@ -74,7 +74,7 @@ $(COMMANDS): %: %.cmd

all: erigon $(COMMANDS)

db-tools:
db-tools: git-submodules
@echo "Building db-tools"

# hub.docker.com setup incorrect gitpath for git modules. Just remove it and re-init submodule.
Expand Down Expand Up @@ -137,6 +137,7 @@ escape:
cd $(path) && go test -gcflags "-m -m" -run none -bench=BenchmarkJumpdest* -benchmem -memprofile mem.out

git-submodules:
@[ -d ".git" ] || (echo "Not a git repository" && exit 1)
@echo "Updating git submodules"
@# Dockerhub using ./hooks/post-checkout to set submodules, so this line will fail on Dockerhub
@git submodule update --quiet --init --recursive --force || true
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ System Requirements
===================

For an Archive node of Mainnet we recommend >=3TB storage space: 1.8TB state (as of March 2022),
200GB temp files (can symlink or mount folder `<datadir>/etl-tmp` to another disk). Mainnet Full node (see `--prune*` flags): 400Gb (April 2022), BSC Archive: 7Tb. BSC Full: 1Tb
200GB temp files (can symlink or mount folder `<datadir>/etl-tmp` to another disk). Mainnet Full node (see `--prune*` flags): 400Gb (April 2022), BSC Archive: 7Tb. BSC Full: 1Tb. Goerli Full node (see `--prune*` flags): 189GB on Beta, 114GB on Alpha (April 2022).
SSD or NVMe. Do not recommend HDD - on HDD Erigon will always stay N blocks behind chain tip, but not fall behind.
Bear in mind that SSD performance deteriorates when close to capacity.

Expand Down Expand Up @@ -368,6 +368,10 @@ Docker uses user erigon with UID/GID 1000 (for security reasons). You can see th
Can fix by giving a host's user ownership of the folder, where the host's user UID/GID is the same as the docker's user UID/GID (1000).
More details in [post](https://www.fullstaq.com/knowledge-hub/blogs/docker-and-the-host-filesystem-owner-matching-problem)

### Run RaspberyPI

https://github.com/mathMakesArt/Erigon-on-RPi-4

Getting in touch
================

Expand Down
Loading