erigon-pulse/erigon-lib
ledgerwatch 2ce98f8337
Move validator set snapshot computation to bor_heimdall stage (#8202)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-10-20 18:31:00 +01:00
..
.github/workflows go.mod: minimal go version 1.20 (#8495) 2023-10-17 06:52:28 +07:00
bptree Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
chain downloader: support token (#8507) 2023-10-18 14:24:09 +07:00
commitment Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
common Proper use of Dirs in Caplin (#8458) 2023-10-13 15:22:48 +02:00
compress Block execution using embedded Silkworm (#8353) 2023-10-05 09:27:37 +07:00
crypto Switch to official KZG ceremony trusted setup (EIP-4844) (#8531) 2023-10-19 18:33:05 +02:00
direct Caplin: under the hood block downloading (#8459) 2023-10-16 15:35:26 +02:00
downloader downloader: fix e2 bucket name (#8521) 2023-10-20 13:54:38 +07:00
etl etl: more tests (#8534) 2023-10-20 13:54:46 +07:00
gointerfaces Caplin: under the hood block downloading (#8459) 2023-10-16 15:35:26 +02:00
kv Caplin <-> MDBX (#8470) 2023-10-18 23:10:53 +02:00
mmap Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
patricia Upgrade libp2p (enables go 1.21 support) (#8288) 2023-09-29 22:11:13 +02:00
pedersen_hash make: refactor erigon-lib make tasks (#8249) 2023-09-21 13:50:59 +02:00
recsplit Block execution using embedded Silkworm (#8353) 2023-10-05 09:27:37 +07:00
rlp Fix rlp.EncodeString for length 56 (#8528) 2023-10-19 11:45:19 +02:00
sais Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
state rpcdaemon: must not create db - because doesn't know right parameters (#8445) 2023-10-12 14:11:46 +07:00
tools Move validator set snapshot computation to bor_heimdall stage (#8202) 2023-10-20 18:31:00 +01:00
txpool downloader: fix e2 bucket name (#8521) 2023-10-20 13:54:38 +07:00
types eth/68: always announce tx sizes without envelopes (#8530) 2023-10-19 14:37:55 +02:00
.gitignore Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
.golangci.yml Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
go.mod downloader: fix e2 bucket name (#8521) 2023-10-20 13:54:38 +07:00
go.sum downloader: fix e2 bucket name (#8521) 2023-10-20 13:54:38 +07:00
LICENSE Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
Makefile ci: go mod tidy check (#8263) 2023-09-22 14:04:25 +07:00
README.md make: refactor erigon-lib make tasks (#8249) 2023-09-21 13:50:59 +02:00
rules.go Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00
tools.go Add 'erigon-lib/' from commit '93d9c9d9fe4bd8a49f7a98a6bce0f0da7094c7d3' 2023-09-20 14:50:25 +02:00

erigon-lib

Parts of Erigon codebase, written from scratch and licensed under Apache 2.0.

License requirements

erigon-lib dependencies use various open source licenses compatible with Apache 2.0. This is checked on CI using make lint-licenses.

In order to keep license purity it is not allowed to refer to the code in the erigon root module from erigon-lib. This is ensured by the go.mod separation.

It is not allowed to copy or move code from erigon to erigon-lib unless all original authors agree to relief the code license from GPL to Apache 2.0.

Code migration policy

It is encouraged to write new erigon code inside erigon-lib.

It is encouraged to move and relicense parts of the code from erigon to erigon-lib that are safe and easy to move. For example, code written from scratch by erigon core contributors that has no significant external contributions could be refactored and moved.