bsc/eth
lx 01d75a9d21
dependency: go version to 1.20 and some dependencies in go.mod (#1939)
* go.mod: upgrade prysm and the indrect dependency
prysm from v4.0.2 to v4.0.8, and run go mod tidy

* ci: upgrade go version from 1.19 to 1.20
* go-version: upgrade from v1.19 to v1.20
there is some dependency on go v1.20, such as go-libp2p v0.27.8
and also run go mod tidy

* dependency: upgrade docker version for security
it is not a big issue, since docker is only used for test purpose.

* rand: update the usage of math/rand after golang v1.20

2 APIs of math/rand module were deprecated since golang v1.20.
that is: rand.Seed() and rand.Read(), refer: ettps://pkg.go.dev/math/rand

"rand.Seed(seed int64)" has been replaced by: "r := rand.New(rand.NewSource(seed int64))",
need to initialize it with an instance before use

"rand.Read()" has been replaced by "crypto/rand.Read()"

* readme: need golang v1.20+ to build bsc
2023-10-24 21:51:30 +08:00
..
downloader feat: active pbss on bsc 2023-09-26 16:14:32 +08:00
ethconfig all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
fetcher all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
filters all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
gasprice Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
protocols dependency: go version to 1.20 and some dependencies in go.mod (#1939) 2023-10-24 21:51:30 +08:00
tracers all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
api_admin.go eth: split api.go into namespace based files (#27263) 2023-05-29 05:09:34 -04:00
api_backend.go all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
api_debug_test.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
api_debug.go all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
api_miner.go core/txpool: make transaction validation reusable across packages (pools) (#27429) 2023-06-06 12:53:29 +03:00
api.go les, eth: fix typo in comment (#27369) 2023-05-30 14:55:03 +02:00
backend.go all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
bloombits.go fix: code compatibility fixes 2022-07-05 11:14:21 +08:00
handler_bsc_test.go lint: fix all golang lint after big merge (#1861) 2023-09-08 16:36:16 +08:00
handler_bsc.go log: reduce logs when receiving too much votes from a peer (#1780) 2023-07-31 10:44:02 +08:00
handler_eth_test.go parlia: reject header with non-nil WithdrawalsHash(#1884) 2023-09-21 12:02:59 +08:00
handler_eth.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
handler_trust.go fix: code compatibility fixes 2022-07-05 11:14:21 +08:00
handler.go feat: active pbss on bsc 2023-09-26 16:14:32 +08:00
peer.go lint: fix all golang lint after big merge (#1861) 2023-09-08 16:36:16 +08:00
peerset.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
state_accessor.go all: activate pbss as experimental feature from eth (#26274) 2023-09-26 16:14:32 +08:00
sync_test.go eth: use new atomic types (#27137) 2023-04-25 12:06:50 +02:00
sync.go feat: active pbss on bsc 2023-09-26 16:14:32 +08:00