Commit Graph

13833 Commits

Author SHA1 Message Date
GalaIO
bd76c258a4 Makefile: fix devtools install error; 2023-04-03 11:50:47 +08:00
dylanhuang
e4381a5d25 log: support custom time format configuration (#1401) 2023-04-03 11:44:28 +08:00
dylanhuang
3b547a9855
log: support custom time format configuration (#1401) 2023-04-03 10:22:49 +08:00
Leon
af7f0dd30b
consnesus/parlia: abort sealing when block in the same height has upd… (#1382) 2023-03-29 17:36:24 +08:00
Larry
75529530a2
fix: snapshot generation issue after chain reinit from a freezer (#1381) 2023-03-29 16:51:48 +08:00
Leon
ece84d4dcd
miner: no need to broadcast sidechain header mined by this validator (#1383) 2023-03-28 15:52:40 +08:00
Larry
6e06ed1087
Merge pull request #1390 from bnb-chain/develop
release: draft release v1.1.21
v1.1.21
2023-03-27 16:47:47 +08:00
Larry
ce609339ad
release: prepare for release v1.1.21 (#1395) 2023-03-27 09:48:59 +08:00
Larry
e8d2c8110c
upgrade: update the fork height of planck upgrade on mainnet (#1389) 2023-03-24 16:55:09 +08:00
Ersan YAKIT
ca20bc13f0
typo: fix Merkel to Merkle(#1120) 2023-03-24 11:03:56 +08:00
Leon
390bbe69c1
miner: add fallthrough for switch cases (#1377) 2023-03-24 10:42:18 +08:00
Larry
c9a679a383
fix: add some boundary check for security (#1354) 2023-03-24 09:51:11 +08:00
buddh0
9ffd7e139e clean: reduce useless logs 2023-03-23 11:09:53 +08:00
buddh0
a32a7b1cf7 tracer: enable withLog for TraceCall 2023-03-23 11:09:53 +08:00
Nathan
33590ce2e9
ci: fix truffle test (#1384) 2023-03-23 10:39:20 +08:00
Larry
fc4303c6c6
fix: crash on nil access when TxPool shutdown (#1353) (#1356) v1.1.20 2023-03-15 18:06:00 +08:00
Larry
b99ef2541f
fix: crash on nil access when TxPool shutdown (#1353) 2023-03-15 17:43:18 +08:00
Larry
8bd6ee887b
Merge pull request #1352 from brilliant-lx/remove_bep188
upgrade: remove BEP-188 from planck hardfork
2023-03-15 12:24:55 +08:00
Larry
7b6cebed7b
Merge pull request #1351 from brilliant-lx/remove_bep188
upgrade: remove BEP-188 from planck hardfork
2023-03-14 21:54:30 +08:00
larry.lx
9b4f10692b doc: remove BEP-188 from planck 2023-03-14 17:32:22 +08:00
larry.lx
6526a601cb Revert "parlia: consensus changes according to BEP of Early Broadcast (#1268)"
This reverts commit f5cb1378da878146a6b3402e7ce9f53783e4f977.
2023-03-14 17:31:21 +08:00
larry.lx
540adff8be Revert "parlia: miner changes for BEP-188 of Early Broadcast (#1269)"
This reverts commit c8a1535c74152c8e91eca2d4dfeb914ffb02ba18.
2023-03-14 17:22:49 +08:00
Larry
9c1d2836ae
Merge pull request #1350 from bnb-chain/develop
release: draft release v1.1.20
2023-03-14 12:29:22 +08:00
Larry
0d87a13c94
release: prepare for release v1.1.20 (#1349) 2023-03-14 10:40:26 +08:00
Eric
22645261bf
core/txpool: implement additional DoS defenses (#1348)
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2023-03-13 21:16:00 +08:00
Larry
36ccd334be
upgrade: update the fork height of planck upgrade on testnet (#1347) 2023-03-13 21:02:05 +08:00
Leon
c1fde0e86c
consensus: fix delete the 1st validator from snapshot.recents list (#1344)
* consensus: fix delete the 1st validator from snapshot.recents list

* consensus:fix uint sub error with negative
2023-03-13 11:10:16 +08:00
Roshan
c11431e4ea
upgrade: update system contracts' code of planck upgrade (#1343) 2023-03-10 11:20:39 +08:00
Larry
a476e315f2
rename: change the next upgrade name to Planck (#1339) 2023-03-07 09:59:03 +08:00
blxdyx
a956064629
clean: Remove support for Ethereum testnet (#1337) 2023-03-06 19:53:13 +08:00
yutianwu
a671641e75
sec: add proof ops check and key checker (#1333) 2023-03-06 08:38:39 +08:00
Larry
85d1237c33
refactor: code of func backOffTime() (#1329)
* consensus: refactor the code in func backOffTime()

* update: more efficient code

* fix: a slice bug
2023-03-03 17:02:44 +08:00
Roshan
109a8e73f7
upgrade: update system contracts' code of testnet (#1328) 2023-03-01 20:17:18 +08:00
kyrie-yl
c8a1535c74
parlia: miner changes for BEP-188 of Early Broadcast (#1269) 2023-03-01 16:57:42 +08:00
Leon
2a76eb498d
consensus: fix slash bug when validator set changing (#1162) 2023-03-01 16:47:38 +08:00
yutianwu
d065c4859e
feats: add ics23 proof support for cross chain packages (#1149) 2023-03-01 15:49:05 +08:00
kyrie-yl
f5cb1378da
parlia: consensus changes according to BEP of Early Broadcast (#1268) 2023-02-28 19:53:17 +08:00
can
13fdb9b365
tracer: port call tracer withLog to bsc (#1261) 2023-02-28 11:16:17 +08:00
blxdyx
217e474cc6
cmd/utils/flags.go: --diffsync flag is deprecate. (#1322) 2023-02-28 09:47:51 +08:00
dylanhuang
6587671e74
fix: Dockerfile (#1312) v1.1.19 2023-02-13 14:13:00 +08:00
dylanhuang
5d696b940a
Merge pull request #1311 from bnb-chain/develop
release: draft release v1.1.19
2023-02-13 13:51:52 +08:00
dylanhuang
175db6b8d4
Merge pull request #1310 from j75689/p_v1.1.19
release: prepare for release v1.1.19
2023-02-13 11:40:48 +08:00
j75689
eafd33c387 fix: conflict with master branch 2023-02-13 10:49:07 +08:00
j75689
8192eafbf6 release: prepare for release v1.1.19 2023-02-13 10:38:13 +08:00
setunapo
b3a20c7611
fix: p2p sync with lagging peer (#1301)
* fix: p2p sync with lagging peer

no need to sync with lagging peer, which could make the local chain stalling as well.

* fix: do not drop lagging peer, will retry it later.

The lagging peer is probably already the best peer with largest total difficulty.
Shoule not remove it, since p2p is a bidirectional connection, drop it could make
the peer unable to sync with this peer as well.
And the lagging peer could catch up later, so keep it.

* p2p: add lagging field in Peer

lagging peer will be connected, but won't be used to sync.
the lagging flag can be clear once the Peer updates its latest block state.

* test: fix UT compile issue

* fix: lagging peer func rename

* test: fix a UT fail of download test

errStallingPeer is replaced by errLaggingPeer in this case

* fix: lagging issue in light mode

* test: add and resolve UT of lagging peer
2023-02-09 22:01:44 +08:00
GalaIO
e4575c52a9 eth/fetcher: fix re-queue failed issue; 2023-02-08 11:41:49 +08:00
dylanhuang
c9bd677b91
dep: update tendermint to v0.31.14 (#1298) 2023-02-03 17:38:20 +08:00
Andre Schreder
ad81821ad9
docker: update bind-tools version (#1271) 2023-02-03 15:53:57 +08:00
dylanhuang
e2e1147a41
mointor: implement double sign monitor (#1199) 2023-02-03 15:53:36 +08:00
Eric
7674814036
parlia : add a check for the length of extraData. (#1294)
* parlia : add a check for the length of extraData.
2023-02-02 19:48:47 +08:00