wit liu
a9db265d4e
core/state: fix bug about getting stable LogsHash result #33082 ( #1768 )
2025-11-14 20:07:32 +05:30
Daniel Liu
7d4578496c
core: fix runtime error index out of range [0] with length 0, close #1765 ( #1766 )
2025-11-14 20:05:37 +05:30
wit liu
7641bcfd19
core: replace if-else chain with tagged switch on err ( #1751 )
2025-11-14 20:04:33 +05:30
wit liu
d48adc520f
core/types: remove unused var #32989 ( #1753 )
2025-11-14 20:03:48 +05:30
Daniel Liu
782a7ff5cb
all: fix typos, close XFN-23 ( #1725 )
2025-11-14 20:02:34 +05:30
wit liu
891a386a58
core/state: using maps.Clone #29365 ( #1754 )
2025-11-14 20:00:59 +05:30
wit liu
5b873ea522
core :use batch to write chain config ( #1760 )
2025-11-14 19:59:10 +05:30
Daniel Liu
1eec428928
blockchain: ensure state exists for prefetcher #20627 , fix #1738 ( #1742 )
2025-11-14 19:58:35 +05:30
Daniel Liu
d5a03ab9e9
core, eth: fix overuse Of log.Crit, close XFN-102 ( #1648 )
...
* core: fix overuse Of `log.Crit`, close XFN-102
* eth: fix overuse Of `log.Crit`, close XFN-102
2025-11-14 16:28:36 +05:30
Daniel Liu
2c40021f71
core/state, internal/ethapi: GetAccountInfo handle error properly, close XFN-79 ( #1663 )
2025-11-14 16:28:18 +05:30
Daniel Liu
956ebb2b02
core, docs: add solidity document, close XFN-68 ( #1670 )
2025-11-14 16:25:42 +05:30
Daniel Liu
28a4f25166
cmd, core, eth, trie: track deleted nodes #22225 #25757 ( #1120 )
...
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
2025-11-12 13:32:22 +05:30
Wanwiset Peerapatanapokin
7aaa541db1
consensus: implement DeepCopy() in PoolObj, close XFN-04 ( #1723 )
...
* add DeepCopy() for PoolObj
* PoolObj: use deepcopies and optimize locks
* optimize code
2025-11-10 21:56:10 +04:00
Wanwiset Peerapatanapokin
845137849d
consensus: change os.Exit to return error ( #1653 )
2025-11-10 21:55:45 +04:00
Daniel Liu
3af629078a
internal/ethapi: eth_simulateV1 #27720 ( #1606 )
2025-11-08 16:09:18 +05:30
Daniel Liu
13ed19bcf2
all: remove XDCx and XDCxlending public API, close XFN-74 XFN-134 ( #1675 )
...
* internal: remove XDCx public API
* XDCx, XDCxlending: remove api
* ethclient: remove SendOrderTransaction and SendLendingTransaction
* XDCx, XDCxlending: remove unused variables and function
* eth, internal/ethapi: remove function `OrderStats()`
2025-11-04 11:19:16 +05:30
Daniel Liu
851bdc45db
core: skip AddBalance for special-tx, close XFN-67 ( #1629 )
2025-11-04 11:16:26 +05:30
Daniel Liu
5732c4b11b
core/txpool: protect cache with mutex #27898 , close XFN-65 ( #1630 )
2025-11-03 14:55:30 +05:30
Daniel Liu
7fad428a8f
core/types: reuse signtx #29152 , close XFN-63 ( #1631 )
2025-11-03 14:54:31 +05:30
Daniel Liu
96d39a83e1
core: fix variable shadowing, close XFN-104 ( #1649 )
2025-11-03 12:57:52 +05:30
Daniel Liu
96fbe67bf5
core: fix untracked goroutine in procFutureBlocks, close XFN-105 ( #1650 )
2025-11-03 12:57:32 +05:30
Daniel Liu
717610c0d8
core: handle future block more elegantly, close XFN-101 ( #1672 )
2025-11-03 12:52:22 +05:30
Daniel Liu
d2706538e2
XDPoS/engines, core: fix non idiomatic "comma ok" boolean name, close XFN-126 ( #1690 )
2025-11-03 12:45:39 +05:30
Daniel Liu
58c066f053
all: handle err from func rlp.Encode, close XFN-127 ( #1692 )
2025-11-03 12:45:19 +05:30
Daniel Liu
426d4a7a9f
core/txpool: fix name shadowing of filter parameter, close XFN-66 ( #1694 )
2025-11-03 12:44:43 +05:30
Daniel Liu
9d85990309
all: fix missing nil check, close XFN-114 ( #1695 )
2025-11-01 23:21:44 +05:30
Daniel Liu
336d1f9f34
core: fix too many goroutines in InitSignerInTransactions, close XFN-75 ( #1662 )
2025-10-31 12:26:22 +05:30
wit liu
79460e4bfb
all: fix whitespace error of golangci-lint, remove extra empty lines ( #1624 )
2025-10-19 14:42:12 +08:00
Wanwiset Peerapatanapokin
d45da0a149
Merge pull request #1611 from XinFinOrg/upgrade-package-CVE
...
update package version
2025-10-08 09:32:20 +04:00
Daniel Liu
3efe26df08
all: refactor so NewBlock, WithBody take types.Body #29482 ( #1605 )
2025-10-08 13:12:35 +08:00
Daniel Liu
c74515fcca
core: persist bad blocks #21827 ( #1603 )
2025-10-08 13:10:22 +08:00
wit liu
e5c480f234
core/txpool: add eip2681 check for incoming transactions #32726 ( #1594 )
2025-10-08 12:51:48 +08:00
Daniel Liu
6e8d261e42
all: eliminate zero owner variables ( #1587 )
2025-10-08 12:38:32 +08:00
Daniel Liu
54cd4589f0
core: check msg.value earlier in func TransitionDb ( #1582 )
2025-10-08 12:30:22 +08:00
Daniel Liu
8938e27932
all: move err to the last position of return values ( #1581 )
2025-10-08 12:29:38 +08:00
wit liu
f709ef2edb
all: remove extra empty lines ( #1574 )
2025-10-08 12:25:10 +08:00
Daniel Liu
271687e463
core, trie: remove DiskDB function from trie database #25690 ( #1116 )
2025-10-08 12:21:56 +08:00
wanwiset25
fe275a9459
update package version:
...
github.com/btcsuite/btcd
2025-10-07 15:28:17 +04:00
Daniel Liu
f46920b407
core, eth, internal: improve getBadBlocks to return full block rlp #16902 ( #1595 )
2025-09-26 19:02:13 +08:00
Daniel Liu
241a5b3fb2
all: using testing.B.Loop ( #1554 )
...
* p2p: using testing.B.Loop
* core/state: using testing.B.Loop
* eth: using testing.B.Loop
* log: using testing.B.Loop
* core: using testing.B.Loop
* core/vm: using testing.B.Loop
* core/types: using testing.B.Loop
* crypto: using testing.B.Loop
2025-09-24 07:59:48 +08:00
wit liu
d20f91057a
all: fix whitespace ( #1572 )
2025-09-24 07:58:40 +08:00
Daniel Liu
aafcae3b28
core/vm: refactor push-functions to use min builtin #29515 ( #1571 )
...
* optimize-push
* revert push1 change
* Update instructions.go
* core/vm: go format
* core/vm: fix nit
---------
Co-authored-by: Devon Bear <itsdevbear@berachain.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-09-24 07:58:03 +08:00
Daniel Liu
294591e67e
all: remove duplicate word in comments ( #1570 )
2025-09-24 07:57:33 +08:00
Daniel Liu
8d16201f0f
core/vm: reject contract creation if the storage is non-empty #28912 ( #1569 )
...
This change implements EIP-7610, which rejects the contract deployment if the destination has non-empty storage.
Co-authored-by: rjl493456442 <garyrong0905@gmail.com>
2025-09-24 07:57:02 +08:00
Daniel Liu
36fb646cb1
core/vm: fix mismatched names in comments ( #1567 )
2025-09-24 07:56:11 +08:00
wit liu
2b658e7934
core: fix unnecessary conversion ( #1565 )
2025-09-24 07:55:14 +08:00
wit liu
ff1867cc45
all: fix govet ( #1562 )
2025-09-24 07:52:07 +08:00
wit liu
9ce02a7010
all: fix goimports ( #1560 )
2025-09-24 07:51:10 +08:00
Daniel Liu
862f18ec58
core/state, trie: fix trie flush order for proper pruning #25581 ( #1112 )
...
Co-authored-by: Péter Szilágyi <peterke@gmail.com>
2025-09-24 07:44:22 +08:00
wit liu
7d5a03a46e
all: fix unnecessary conversion ( #1527 )
...
Co-authored-by: wit <wit765765346@gmail>
2025-09-21 19:45:42 +08:00