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
dylanhuang
bf68be2bd9
dep: bump the version of several important library ( #1274 )
...
* dep: upgrade secp256k1 to use btcec/v2 v2.3.2 and update insecurity pkg
* build ci: upgrade go to 1.19 and golangci-lint to 1.50.1
* docs: fix format that does not follow the goimports
* dep: redirect github.com/bnb-chain/tendermint to v0.31.13
* ci: disable GOPROXY
2023-02-02 19:36:37 +08:00
j75689
176ab95ee5
ci: disable CGO_ENABLED when building binary
2023-02-02 14:10:02 +08:00
Ng Wei Han
0f744c7f73
docs: minor fix on geth links ( #1287 )
2023-02-01 11:34:16 +08:00
zjubfd
d22153b9da
docs: minor fix about the readme ( #1267 )
2023-01-06 10:51:57 +08:00
zjubfd
b34453e3eb
docs: update the readme ( #1266 )
2023-01-05 18:41:46 +08:00
j75689
8362242de6
build: fix windows compilation failure
2022-12-22 20:09:47 +08:00
j75689
b37d44b289
ci: update unmaintained tools to use maintained tools
2022-12-22 20:09:47 +08:00
joeycli
30369897f2
fix comments: prune ancient compatibility, add prune ancient comments
2022-12-22 20:07:55 +08:00
WayToFuture
154f339ce3
comments: add comments to clarify flags and byte codes ( #1245 )
2022-12-22 12:39:36 +08:00
Seungbae Yu
e9a04cca30
core: preallocate batch size in bloomIndexer ( #25289 )
...
This change reduces allocations when committing bloombits indexes
by creating the database batch with a larger initial size.
2022-12-16 17:30:34 +08:00
rjl493456442
da977e9cdc
core, ethdb, tests, trie: implement NewBatchWithSize API for batcher ( #24392 )
...
This PR adds an addtional API called `NewBatchWithSize` for db
batcher. It turns out that leveldb batch memory allocation is
super inefficient. The main reason is the allocation step of
leveldb Batch is too small when the batch size is large. It can
take a few second to build a leveldb batch with 100MB size.
Luckily, leveldb also offers another API called MakeBatch which can
pre-allocate the memory area. So if the approximate size of batch is
known in advance, this API can be used in this case.
It's needed in new state scheme PR which needs to commit a batch of
trie nodes in a single batch. Implement the feature in a seperate PR.
2022-12-16 17:30:34 +08:00