Commit graph

11843 commits

Author SHA1 Message Date
JukLee0ira
f8a2b00505 core/rawdb,eth: use lightweight accessor for log filtering (#23147) 2024-08-03 10:03:22 +08:00
JukLee0ira
c072bbaac1 eth,les,miner: implement feeHistory API (#23033) 2024-08-03 10:03:22 +08:00
JukLee0ira
acaf943e59 eth/filters: fix potential deadlock in filter timeout loop (#22178) 2024-08-03 10:03:22 +08:00
JukLee0ira
83782e5368 eth/filters: remove use of event.TypeMux for pending logs (#20312) 2024-08-03 10:03:22 +08:00
Daniel Liu
99c2e18b88 cmd/geth: move cache sanity check to SetEthConfig (#22510) 2024-08-03 08:12:28 +08:00
Daniel Liu
b2c6191bea cmd/XDC: expose CacheFlag and CacheDatabaseFlag 2024-08-03 08:12:28 +08:00
Guillaume Ballet
1ce065f192 common/fdlimit: fix linter warning (#25192) 2024-08-03 08:12:28 +08:00
Daniel Liu
020fac603c cmd/utils: allow file descriptor limit to be set via CLI (#24477) 2024-08-03 08:12:28 +08:00
Daniel Liu
514b4ce7c5 common/fdlimit: build on DragonflyBSD (#21241) 2024-08-03 08:12:28 +08:00
Daniel Liu
467126234f common/fdlimit: fix macos file descriptors for Go 1.12 (#19166) 2024-08-03 08:12:28 +08:00
Daniel Liu
c012af02d3 common/fdlimit: Fix compilation error in freebsd, Raise returns uint64 (#19141) 2024-08-03 08:12:28 +08:00
Daniel Liu
be2d40bcdd common/fdlimit: fix windows build (#19068) 2024-08-03 08:12:28 +08:00
Daniel Liu
9cedb25a8d common/fdlimit: cap on MacOS file limits, fixes #18994 (#19035) 2024-08-03 08:12:28 +08:00
Daniel Liu
cb8a9edd03 cmd/utils: max out the OS file allowance, don't cap to 2K (#18211) 2024-08-03 08:12:28 +08:00
Daniel Liu
4976b7cbb3
Fix some panic cuased by nil block, statedb, header (#578)
* fix panic during rollback

* eth/hooks: check nil stateDB to fix issue #271

* internal/ethapi: fix eth_call crash

* all: check nil statedb

* eth: check nil block for tracer api

* internal/ethapi: check nil header and block
2024-08-02 17:05:53 -07:00
Daniel Liu
e9e94e640d
core: save new blocks during reorg (#596) 2024-08-02 16:53:49 -07:00
Daniel Liu
a0081d998b
make MasternodeVotingSMC tx never timeout (#595) 2024-08-02 16:19:22 -07:00
Liam
a9c557730a
scale down devnet from 73 to 62 (#582) 2024-07-30 15:20:54 -07:00
Liam
308607c670
lower the devnet cert to recover devnet again (#594) 2024-07-29 16:43:56 -07:00
Liam
014eb1c2ed
lower the devnet cert to recover devnet (#592)
* lower the devnet cert to recover devnet

* lower the devnet cert to recover devnet
2024-07-29 07:34:28 -07:00
Liam
4b35f33559
Fix crash during reorg for v2.0.0 (#590) (#593)
* params: fix usage of IsXDCxDisable

* internal/ethapi: fix nil block in function DoCall during reorg

Co-authored-by: Daniel Liu <139250065@qq.com>
2024-07-29 07:19:19 -07:00
Liam
c637d2885a
Merge pull request #589 from XinFinOrg/merge-from-master
Merge from master
2024-07-23 00:56:02 -07:00
Liam Lai
9f003fc75f update to 2.3.1-beta1 2024-07-23 00:41:14 -07:00
Liam Lai
3a6b18c5cd Merge branch 'master' into merge-from-master 2024-07-23 00:38:59 -07:00
Liam
ad49e17909
Merge pull request #586 from gzliudan/fix-v200-sync
fix v2.0.0 sync problem for mainnet
2024-07-22 00:03:07 -07:00
Daniel Liu
520fb284f5 Revert "revert https://github.com/XinFinOrg/XDPoSChain/pull/497 behavior for v1 engine (#531)"
This reverts commit 2bbecdcbbc.
2024-07-18 10:24:20 +08:00
Liam
e16b3f5ab3
scale down devnet from 90 to 73 (#581) 2024-07-14 19:20:50 +10:00
Liam
dc52e578a0
update devnet deployment script (#580) 2024-07-14 19:20:34 +10:00
Liam
297b964393
downscale devnet (#579) 2024-07-14 00:17:40 +10:00
Wanwiset Peerapatanapokin
c8339db0d2
Merge pull request #571 from XinFinOrg/scale-down-devnet-from-108-to-90
scale down devnet from 108 to 90
2024-07-12 15:08:32 +04:00
Anil Chinchawale
3ae6f752bd
Merge pull request #575 from XinFinOrg/add-stable-sufix-in-the-mainnet-version
add stable sufix in the mainnet version
2024-07-09 18:43:39 +05:30
Liam Lai
950de52e42 add stable sufix in the mainnet version 2024-07-09 22:15:50 +10:00
Liam
d48e27038b
xdpos 2.0 release for mainnet (#574)
* xdpos 2.0 release for mainnet
2024-07-09 21:54:44 +10:00
Liam Lai
accbd20dec scale down devnet from 108 to 90 2024-07-06 00:11:26 +10:00
Wanwiset Peerapatanapokin
b09292a25b
Merge pull request #550 from XinFinOrg/increase-txpool-EIP-2464
Implement EIPs to support the increase of TX size limit configuration.
EIPs: 2464, 2364, 2124
2024-06-28 19:39:44 +04:00
wanwiset25
82f2f63df4 add explanation 2024-06-28 18:36:02 +04:00
wanwiset25
4be4f2eeb1 fix tests 2024-06-28 18:35:47 +04:00
wanwiset25
829ca9f198 let xdpos22(101) strictly 1 to 1 with eth64(64) protocol 2024-06-28 18:21:07 +04:00
wanwiset25
b5c7bd5cba enable bft and better protocol version check 2024-06-28 11:34:04 +04:00
wanwiset25
ebb9a63107 differentiate xdpos 2.2 protocol version 2024-06-28 11:33:04 +04:00
wanwiset25
57b11ab4c9 try use insertblock in fetcher 2024-06-28 11:33:04 +04:00
wanwiset25
da42d75839 add p2p logging 2024-06-28 11:33:04 +04:00
wanwiset25
c9ee3240fb fix tests 2024-06-28 11:33:04 +04:00
wanwiset25
9e04fd82cf add xdpos2 protocol condition 2024-06-28 11:33:04 +04:00
wanwiset25
1b781530c6 add xdpos protocol test cases 2024-06-28 11:33:04 +04:00
Kurkó Mihály
41fa412893 p2p: add ENR to PeerInfo (#19816) 2024-06-28 11:33:04 +04:00
Péter Szilágyi
1204fa954f eth: check propagated block malformation on receiption (#20546) 2024-06-28 11:33:04 +04:00
Martin Holst Swende
8f4a269437 eth, les: add sanity checks for unbounded block fields (#19573)
This PR adds some hardening in the lower levels of the protocol stack, to bail early on invalid data. Primarily, attacks that this PR protects against are on the "annoyance"-level, which would otherwise write a couple of megabytes of data into the log output, which is a bit resource intensive.
2024-06-28 11:33:04 +04:00
Péter Szilágyi
3f87990a71 core/forkid: add two clauses for more precise validation (#20220) 2024-06-28 11:33:04 +04:00
Péter Szilágyi
93b2a23216 core, eth: announce based transaction propagation (#20234) 2024-06-28 11:33:04 +04:00