Commit Graph

13831 Commits

Author SHA1 Message Date
lx
a4373557df
fetcher: no import blocks before or equal to the finalized height (#1854) 2023-09-06 21:53:47 +08:00
Matus Kysel
3f0158751e
Merge pull request #1852 from bnb-chain/bootnodes
discov: add hardcoded bootnodes
2023-09-06 15:40:03 +02:00
Matus Kysel
d40f382fe1
doc: add simple guide to run bootnode 2023-09-06 13:02:47 +02:00
Matus Kysel
50f1cf3aa9
discov: add hardcoded bootnodes 2023-09-05 08:23:51 +02:00
buddho
df8db4f22c
crypto: Update BLST to v0.3.11 (#1844) 2023-08-29 18:09:24 +08:00
lx
c035b0c816
release: prepare for release v1.2.11 (#1832) 2023-08-22 11:10:53 +08:00
lx
e2bf0f3fbd
fix: lagging nodes failed to sync (#1829)
FastFinality puts more infor into the header.extra field to keep vote information.
For mainnet, on epoch height, it could be 1526 bytes, which was 517 bytes before.
So the hardcoded 700 bytes for header could be no longer enough, increase it by
2 times would be enough.

this bug could cause P2P sync failure for nodes that are lagging behind, since they
would request access of ancient db, and GetBlockHeaders could be failed.
2023-08-21 10:31:18 +08:00
NathanBSC
0bc5a2a2d7
client: add FinalizedHeader/Block to use the fast finality (#1797) 2023-08-15 11:40:52 +08:00
NathanBSC
9b95339c38
vote: remove DisableBscProtocol and add flag to skip votes assmebling (#1805) 2023-08-14 17:48:36 +08:00
NathanBSC
c208d28a68
tool: add a tool extradump to parse extra data after luban (#1795) 2023-08-03 10:05:54 +08:00
lx
0fb32163b0
release: prepare for release v1.2.10 (#1792) 2023-08-02 20:09:45 +08:00
NathanBSC
54dbb2ba05
finality: add more check to ensure reuslt of assembleVoteAttestation (#1791) 2023-08-02 18:10:04 +08:00
NathanBSC
522d4cd880
vote: backup validator sync votes from corresponding mining validator (#1778) 2023-08-02 14:50:32 +08:00
NathanBSC
4525cff920
fix: exclude same votes when doing malicious voting check (#1784) 2023-08-02 14:47:35 +08:00
Eric
909e7b9314
metrics: add txpool config into metrics server (#1788) 2023-08-02 14:06:24 +08:00
NathanBSC
54b4e58382
rpc: add GetFinalizedHeader/Block to simplify using the fast finality (#1789) 2023-08-02 14:05:46 +08:00
NathanBSC
f616c36ebf
log: reduce logs when receiving too much votes from a peer (#1780) 2023-07-31 10:44:02 +08:00
Matus Kysel
278608a04e
discov: do not filter out bootnodes (#1773) 2023-07-27 21:39:04 +08:00
larry.lx
83cc950b6b release: prepare for release v1.2.9 2023-07-21 16:31:05 +08:00
larry.lx
9219c883e3 upgrade: mainnet hardfork block height for: Plato, Hertz
Hertz is equal to Berlin and London

- Plato will be enabled on BSC mainnet at height: 30720096
- Hertz will be enabled on BSC mainnet at height: 31302048
  Hertz is for ecosystem compatibility, to enable some customized EIPs of Berlin&London on BSC
2023-07-21 16:31:05 +08:00
Matus Kysel
5742cc286c
discov: increase bucket size for bootnodes (#1727) 2023-07-12 08:48:13 +08:00
NathanBSC
3fd5b0c149
fix: defend ddos voting attack with other mini fix according to audit (#1741) 2023-07-11 10:13:08 +08:00
Matus Kysel
288804ced0
Merge pull request #1739 from bnb-chain/tracing-timeout
eth/tracers: add multiplexing tracer
2023-07-10 09:45:10 +02:00
alexlucaci
d565b9cb12
Merge pull request #1725 from bnb-chain/uncomment-log-trace
Uncomment log trace
2023-06-30 18:18:39 +03:00
alexlucaci
5ba63e3071
log: added option to rotate logs based on number of hours with a maximum of 24 (#1735)
log: added daily rotate option which overrides hourly
2023-06-30 18:09:26 +03:00
lx
8a430c06a9
docs: some url update (#1742) 2023-06-30 12:06:56 +08:00
Sina Mahmoodi
78d6ae7415
eth/tracers: add multiplexing tracer (#26086)
* eth/tracers: add native multiplexing tracer

* minor improv callTracer

* mv evm cancellation to api
2023-06-27 09:29:00 +02:00
lx
dda8e8da6a
release: prepare for release v1.2.8 (#1736) 2023-06-27 13:01:58 +08:00
lmittmann
291cb8ab51
eth/filters, ethclient/gethclient: add fullTx option to pending tx filter (#25186) (#1626)
This PR adds a way to subscribe to the _full_ pending transactions, as opposed to just being notified about hashes.

In use cases where client subscribes to newPendingTransactions and gets txhashes only to then request the actual transaction, the caller can now shortcut that flow and obtain the transactions directly.

Co-authored-by: lx <92799281+brilliant-lx@users.noreply.github.com>
Co-authored-by: lmittmann <lmittmann@users.noreply.github.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-06-27 11:52:31 +08:00
NathanBSC
598c36bcea
fix: avoid to block the chain when failed to send votes (#1734) 2023-06-27 08:59:08 +08:00
NathanBSC
69fd672ded
feat: support password flag when handling bls keys (#1726) 2023-06-25 14:11:17 +08:00
Alex Lucaci
7487f79eb0 fix: typo 2023-06-20 16:06:56 +03:00
lx
be7ee9217f
release: prepare for release v1.2.7 (#1724) 2023-06-20 18:54:25 +08:00
Alex Lucaci
dde94542c1 fix: uncommented log.Trace while also tracking the sender again 2023-06-20 13:30:15 +03:00
KeefeL
a27ece8d0a
lightclient: fix validator set change (#1645) 2023-06-20 18:04:18 +08:00
NathanBSC
dc454a1ca7
feat: support creating a bls keystore from a specified private key (#1717) 2023-06-20 13:40:23 +08:00
NathanBSC
f455263950
metrics: add counter for voting status of whole network (#1720) 2023-06-20 10:58:13 +08:00
lx
cf64a044af
Merge pull request #1696 from bnb-chain/develop
release: draft release v1.2.6
v1.2.6
2023-06-16 17:12:04 +08:00
dylanhuang
acd2f5f249
p2p: fix length calculation for headPeers method (#1708) 2023-06-16 13:32:58 +08:00
lx
9841ba5bdc
Merge branch 'master' into develop 2023-06-16 06:29:14 +08:00
larry.lx
55bb1086ca release: prepare for release v1.2.6 2023-06-16 06:07:21 +08:00
larry.lx
019aedc17e upgrade: block height of Hertz(London&Berlin) on testnet 2023-06-16 06:07:21 +08:00
larry.lx
1ace44b9ca release: prepare for release v1.2.5 2023-06-16 06:07:21 +08:00
Mister-EA
cd44fc40ff
Merge pull request #1704 from bnb-chain/default-config-reflection
core: use reflection to set default block values
2023-06-15 17:26:35 +02:00
NathanBSC
486e019880
core/statedb: always clear out access list when setting a new one (#1702)
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2023-06-15 17:09:27 +08:00
Mister-EA
73397217e2 core: use reflection to set default block values 2023-06-15 10:31:42 +02:00
Matus Kysel
e31270aa38
Merge pull request #1694 from bnb-chain/improve-readme
readme: add minimal compiler version
2023-06-14 10:42:10 +02:00
Mister-EA
23ba7b0893
Merge pull request #1695 from sunny2022da/2718-test-dev
test: Add EIP-2718 unit test for parlia ChainConfig
2023-06-14 10:10:59 +02:00
Sunny
2cd0387cbe test: Add EIP-2718 unit test for parlia ChainConfig 2023-06-13 18:35:32 +08:00
Matus Kysel
4560dc2f66
readme: add minimal compiler version 2023-06-13 10:25:07 +02:00