Commit graph

11763 commits

Author SHA1 Message Date
Liam
e6190dd25f
fix timeout skip condition (#659)
Co-authored-by: 賴怡誠 <laiyicheng@makotos-MBP.lan>
2024-09-30 21:32:22 -07:00
Liam
37f2320af6
increase message buffer to keep message (#657)
* increase message buffer to keep message

* update version
2024-09-30 21:13:49 -07:00
Liam
ccbedce27b
relocate broadcast logic (#656)
Co-authored-by: 賴怡誠 <laiyicheng@makotos-MBP.lan>
2024-09-30 20:20:23 -07:00
Liam
9751e41dd5
Mainnet debug (#655)
* intro new timeout (#651)

* intro new timeout

* correct comment

* disable ProcessForensics

* disable ProcessForensics

* change version

* enable periodicProfilingFlag

* fix: ignore old timeout msg

* fix: ignore old timeout msg including equal to the current round

* udpate version file
2024-09-30 20:05:14 -07:00
Liam
3fb1a015e0
setup mainnet and testnet release block (#607) 2024-08-19 01:04:31 -07:00
Daniel Liu
31098e717a
core: save new blocks during reorg (#599) 2024-08-02 16:55:41 -07:00
Daniel Liu
824c531324
make MasternodeVotingSMC tx never timeout (#598) 2024-08-02 16:20:24 -07:00
Daniel Liu
438341c2ea
Fix crash during reorg for v2.0.0 (#590)
* params: fix usage of IsXDCxDisable

* internal/ethapi: fix nil block in function DoCall during reorg
2024-07-27 07:16:26 -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
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
f041ad5a9b
Merge pull request #536 from XinFinOrg/dev-upgrade
Monthly Merge Dev-Upgrade to Master Branch: May
2024-05-24 15:12:50 +08:00
Liam
487593bfe6
Merge pull request #549 from XinFinOrg/rebase-master
Rebase master into dev-upgrade
2024-05-24 14:26:55 +08:00
Liam Lai
df78305d5b bump to version 2.3.0-beta1 2024-05-24 14:12:09 +08:00
Liam Lai
20e46d9b23 resolve conflict 2024-05-24 14:03:33 +08:00
wgr523
65d7e6a060
Merge pull request #548 from XinFinOrg/trie-proof
GetTransactionAndReceiptProof API
2024-05-22 15:17:35 +08:00
Daniel Liu
3929f4f6dc
Merge pull request #540 from JukLee0ira/dev-upgrade-juk
Add method: eth_getBlockReceipts
2024-05-22 11:00:01 +08:00
Gerui Wang
2d70c0c3a1 GetTransactionAndReceiptProof API
web3ext.go
2024-05-21 23:06:25 +08:00
JukLee0ira
c928c79d95 ethapi: implement eth_getBlockReceipts (#27702) 2024-05-21 18:03:15 +08:00
wgr523
d6a5095fa1
Merge pull request #545 from XinFinOrg/traceCall2
TraceCall API
2024-05-20 20:59:59 +08:00
Daniel Liu
09eb6124b2
Merge pull request #542 from gzliudan/rlp
upgarde package rlp to 2024-05-15
2024-05-20 12:38:35 +08:00
Wang Gerui
b2605e6ab0 add traceCall in web3ext.go 2024-05-18 21:33:15 +08:00
Gary
0245344338 add TraceCall, backend.StateAtBlock(), RPCGasCap
update gen_config.go by tool `gencodec`
2024-05-17 21:34:34 +08:00
Daniel Liu
f6bddb669f rlp: upgarde package rlp to 2024-05-15 2024-05-17 10:10:15 +08:00
Wanwiset Peerapatanapokin
4c58061d15
release version (#544) 2024-05-16 18:08:27 +04:00
Wanwiset Peerapatanapokin
9c03d01614
change threshold to match current conf (#543) 2024-05-16 12:19:36 +04:00
Daniel Liu
3a28063a77
Merge pull request #526 from gzliudan/eip-2718-and-2930
Implement EIP-2718 and EIP-2930 for EIP-1559
2024-05-16 06:21:50 +08:00
Daniel Liu
fd8811cc9e core, backends: rename callmsg to callMsg 2024-05-14 23:27:23 +08:00
Daniel Liu
e82bef5b87 core/types: remove duplication in eip2930 signer (#27860) 2024-05-14 23:27:23 +08:00
Daniel Liu
7a95b4f907 core, eth, internal/ethapi: create access list RPC API (#22550) 2024-05-14 23:27:23 +08:00
Daniel Liu
5cb014b60f core, eth/tracer: initialize tracer statedb in CaptureStart (#22333) 2024-05-14 23:27:23 +08:00
Derek Chiang
5edfd8f9eb core: fix method comment for txpool.requestReset (#22543) 2024-05-14 23:27:23 +08:00
Daniel Liu
349dc1bacd core/types: improve comments in new EIP-2718 code (#22402) 2024-05-14 23:15:35 +08:00
Daniel Liu
b8974be16e eth/state, les/state, et/tracers: properly init statedb accesslist (#22480) 2024-05-14 23:15:35 +08:00
Daniel Liu
0ccf119cd7 core/types: reduce allocations in GasPriceCmp (#22456) 2024-05-14 23:15:35 +08:00
Daniel Liu
01e1728a94 all: add support for EIP-2718, EIP-2930 transactions (#21502) 2024-05-14 23:15:35 +08:00
Daniel Liu
8973e73ba9
Merge pull request #533 from gzliudan/tx-pool
upgrade tx pool
2024-05-14 23:14:35 +08:00
Liam
320e9779f6
mainnet enable evm 0.8.23 hardfork blocks target date 19 June (#535)
* mainnet enable evm 0.8.23 hardfork blocks

* mainnet enable evm 0.8.23 hardfork blocks target date 14 July
2024-05-14 20:22:46 +08:00
Marius van der Wijden
76b29b2f25 core: reset txpool state on sethead (#22247)
fixes an issue where local transactions that were included in the chain before a SetHead were rejected if resubmitted, since the txpool had not reset the state to the current (older) state.
2024-05-14 11:44:26 +08:00
gary rong
289304f876 core/txpool: remove "local" notion from the txpool price heap (#21478)
* core: separate the local notion from the pricedHeap

* core: add benchmarks

* core: improve tests

* core: address comments

* core: degrade the panic to error message

* core: fix typo

* core: address comments

* core: address comment

* core: use PEAK instead of POP

* core: address comments
2024-05-14 11:08:53 +08:00
Martin Holst Swende
a6d591b01b core: fix txpool off-by-one error (#21683) 2024-05-14 10:09:43 +08:00
Marius van der Wijden
6935687790 core: more detailed metering for reorgs (#21420) 2024-05-13 22:07:04 +08:00
Hao Duan
28baf9f1fd core: avoid modification of accountSet cache in tx_pool (#21159)
* core: avoid modification of accountSet cache in tx_pool

when runReorg, we may copy the dirtyAccounts' accountSet cache to promoteAddrs
in which accounts will be promoted, however, if we have reset request at the
same time, we may reuse promoteAddrs and modify the cache content which is
against the original intention of accountSet cache. So, we need to make a new
slice here to avoid modify accountSet cache.

* core: fix flatten condition + comment

Co-authored-by: Felix Lange <fjl@twurst.com>
2024-05-13 22:07:04 +08:00
Daniel Liu
b9f373fb57 core: fix queued transaction eviction #21300 2024-05-13 22:07:04 +08:00
Martin Holst Swende
ff246355a2 core: transaction pool optimizations (#21328)
* core: added local tx pool test case

* core, crypto: various allocation savings regarding tx handling

* core/txlist, txpool: save a reheap operation, avoid some bigint allocs

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2024-05-13 22:07:03 +08:00
Daniel Liu
48f9bbed50 core: types: less allocations when hashing and tx handling (#21265) 2024-05-13 22:07:03 +08:00
Hao Duan
1776bf1313 core: filter out txs with invalid signatures as soon as possible (#21170)
Once we detect an invalid transaction during recovering signatures, we should
directly exclude this transaction to avoid validating the signatures hereafter.

This should optimize the validations times of transactions with invalid signatures
to only one time.
2024-05-13 22:07:03 +08:00
chenglin
cf41742040 core: collect NewTxsEvent items without holding reorg lock (#21145) 2024-05-13 22:07:03 +08:00