mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
329d18ef6f
Reason: - produce and seed snapshots earlier on chain tip. reduce depnedency on "good peers with history" at p2p-network. Some networks have no much archive peers, also ConsensusLayer clients are not-good(not-incentivised) at serving history. - avoiding having too much files: more files(shards) - means "more metadata", "more lookups for non-indexed queries", "more dictionaries", "more bittorrent connections", ... less files - means small files will be removed after merge (no peers for this files). ToDo: [x] Recent 500K - merge up to 100K [x] Older than 500K - merge up to 500K [x] Start seeding 100k files [x] Stop seeding 100k files after merge (right before delete) In next PR: [] Old version of Erigon must be able download recent hashes. To achieve it - at first start erigon will download preverified hashes .toml from s3 - if it's newer that what we have (build-in) - use it.
156 lines
7.1 KiB
Modula-2
156 lines
7.1 KiB
Modula-2
module github.com/ledgerwatch/erigon-lib
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
github.com/erigontech/mdbx-go v0.35.2-0.20231101074031-9f999220e9ed
|
|
github.com/ledgerwatch/erigon-snapshot v1.3.1-0.20231101135659-d85154191b66
|
|
github.com/ledgerwatch/interfaces v0.0.0-20231031050643-c86352e41520
|
|
github.com/ledgerwatch/log/v3 v3.9.0
|
|
github.com/ledgerwatch/secp256k1 v1.0.0
|
|
)
|
|
|
|
require (
|
|
github.com/RoaringBitmap/roaring v1.2.3
|
|
github.com/VictoriaMetrics/metrics v1.23.1
|
|
github.com/anacrolix/dht/v2 v2.20.0
|
|
github.com/anacrolix/go-libutp v1.3.1
|
|
github.com/anacrolix/log v0.14.3-0.20230823030427-4b296d71a6b4
|
|
github.com/anacrolix/torrent v1.52.6-0.20230926121951-11833b45cfbe
|
|
github.com/aws/aws-sdk-go-v2 v1.21.2
|
|
github.com/aws/aws-sdk-go-v2/config v1.19.0
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.43
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.40.2
|
|
github.com/c2h5oh/datasize v0.0.0-20220606134207-859f65c6625b
|
|
github.com/containerd/cgroups/v3 v3.0.2
|
|
github.com/crate-crypto/go-kzg-4844 v0.7.0
|
|
github.com/deckarep/golang-set/v2 v2.3.1
|
|
github.com/edsrzf/mmap-go v1.1.0
|
|
github.com/go-stack/stack v1.8.1
|
|
github.com/gofrs/flock v0.8.1
|
|
github.com/google/btree v1.1.2
|
|
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
|
|
github.com/hashicorp/golang-lru/v2 v2.0.6
|
|
github.com/holiman/uint256 v1.2.3
|
|
github.com/matryer/moq v0.3.3
|
|
github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58
|
|
github.com/pelletier/go-toml/v2 v2.1.0
|
|
github.com/prometheus/client_golang v1.17.0
|
|
github.com/prometheus/client_model v0.5.0
|
|
github.com/prometheus/common v0.44.0
|
|
github.com/quasilyte/go-ruleguard/dsl v0.3.22
|
|
github.com/spaolacci/murmur3 v1.1.0
|
|
github.com/stretchr/testify v1.8.4
|
|
github.com/tidwall/btree v1.6.0
|
|
golang.org/x/crypto v0.14.0
|
|
golang.org/x/exp v0.0.0-20230905200255-921286631fa9
|
|
golang.org/x/sync v0.4.0
|
|
golang.org/x/sys v0.13.0
|
|
golang.org/x/time v0.3.0
|
|
google.golang.org/grpc v1.59.0
|
|
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.3.0
|
|
google.golang.org/protobuf v1.31.0
|
|
)
|
|
|
|
require (
|
|
github.com/ajwerner/btree v0.0.0-20211221152037-f427b3e689c0 // indirect
|
|
github.com/alecthomas/atomic v0.1.0-alpha2 // indirect
|
|
github.com/anacrolix/chansync v0.3.0 // indirect
|
|
github.com/anacrolix/envpprof v1.3.0 // indirect
|
|
github.com/anacrolix/generics v0.0.0-20230816105729-c755655aee45 // indirect
|
|
github.com/anacrolix/missinggo v1.3.0 // indirect
|
|
github.com/anacrolix/missinggo/perf v1.0.0 // indirect
|
|
github.com/anacrolix/missinggo/v2 v2.7.2-0.20230527121029-a582b4f397b9 // indirect
|
|
github.com/anacrolix/mmsg v1.0.0 // indirect
|
|
github.com/anacrolix/multiless v0.3.1-0.20221221005021-2d12701f83f7 // indirect
|
|
github.com/anacrolix/stm v0.4.1-0.20221221005312-96d17df0e496 // indirect
|
|
github.com/anacrolix/sync v0.4.0 // indirect
|
|
github.com/anacrolix/upnp v0.1.3-0.20220123035249-922794e51c96 // indirect
|
|
github.com/anacrolix/utp v0.1.0 // indirect
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.14 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.13 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.43 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.37 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.45 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.1.6 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.15 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.38 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.37 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.15.6 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.15.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.17.3 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.23.2 // indirect
|
|
github.com/aws/smithy-go v1.15.0 // indirect
|
|
github.com/bahlo/generic-list-go v0.2.0 // indirect
|
|
github.com/benbjohnson/immutable v0.4.1-0.20221220213129-8932b999621d // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/bits-and-blooms/bitset v1.7.0 // indirect
|
|
github.com/bradfitz/iter v0.0.0-20191230175014-e8f45d346db8 // indirect
|
|
github.com/cespare/xxhash/v2 v2.2.0 // indirect
|
|
github.com/cilium/ebpf v0.9.1 // indirect
|
|
github.com/consensys/bavard v0.1.13 // indirect
|
|
github.com/consensys/gnark-crypto v0.12.0 // indirect
|
|
github.com/coreos/go-systemd/v22 v22.3.2 // indirect
|
|
github.com/davecgh/go-spew v1.1.1 // indirect
|
|
github.com/docker/go-units v0.4.0 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/go-llsqlite/adapter v0.0.0-20230912124304-94ed0e573c23 // indirect
|
|
github.com/go-llsqlite/crawshaw v0.0.0-20230910110433-7e901377eb6c // indirect
|
|
github.com/go-logr/logr v1.2.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/godbus/dbus/v5 v5.0.4 // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/uuid v1.3.1 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/huandu/xstrings v1.4.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.19 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
|
|
github.com/mmcloughlin/addchain v0.4.0 // indirect
|
|
github.com/mschoch/smat v0.2.0 // indirect
|
|
github.com/opencontainers/runtime-spec v1.0.2 // indirect
|
|
github.com/pion/datachannel v1.5.2 // indirect
|
|
github.com/pion/dtls/v2 v2.2.4 // indirect
|
|
github.com/pion/ice/v2 v2.2.6 // indirect
|
|
github.com/pion/interceptor v0.1.11 // indirect
|
|
github.com/pion/logging v0.2.2 // indirect
|
|
github.com/pion/mdns v0.0.5 // indirect
|
|
github.com/pion/randutil v0.1.0 // indirect
|
|
github.com/pion/rtcp v1.2.9 // indirect
|
|
github.com/pion/rtp v1.7.13 // indirect
|
|
github.com/pion/sctp v1.8.2 // indirect
|
|
github.com/pion/sdp/v3 v3.0.5 // indirect
|
|
github.com/pion/srtp/v2 v2.0.9 // indirect
|
|
github.com/pion/stun v0.3.5 // indirect
|
|
github.com/pion/transport v0.13.1 // indirect
|
|
github.com/pion/transport/v2 v2.0.0 // indirect
|
|
github.com/pion/turn/v2 v2.0.8 // indirect
|
|
github.com/pion/udp v0.1.4 // indirect
|
|
github.com/pion/webrtc/v3 v3.1.42 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
|
github.com/prometheus/procfs v0.11.1 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/rs/dnscache v0.0.0-20211102005908-e0241e321417 // indirect
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
|
github.com/valyala/fastrand v1.1.0 // indirect
|
|
github.com/valyala/histogram v1.2.0 // indirect
|
|
go.etcd.io/bbolt v1.3.6 // indirect
|
|
go.opentelemetry.io/otel v1.8.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.8.0 // indirect
|
|
golang.org/x/mod v0.13.0 // indirect
|
|
golang.org/x/net v0.17.0 // indirect
|
|
golang.org/x/text v0.13.0 // indirect
|
|
golang.org/x/tools v0.14.0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.24.1 // indirect
|
|
modernc.org/mathutil v1.6.0 // indirect
|
|
modernc.org/memory v1.6.0 // indirect
|
|
modernc.org/sqlite v1.26.0 // indirect
|
|
rsc.io/tmplfunc v0.0.3 // indirect
|
|
zombiezen.com/go/sqlite v0.13.1 // indirect
|
|
)
|
|
|
|
replace github.com/VictoriaMetrics/metrics => github.com/ledgerwatch/victoria-metrics v0.0.4
|