JukLee0ira
c928c79d95
ethapi: implement eth_getBlockReceipts ( #27702 )
2024-05-21 18:03:15 +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
7a95b4f907
core, eth, internal/ethapi: create access list RPC API ( #22550 )
2024-05-14 23:27:23 +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
48f9bbed50
core: types: less allocations when hashing and tx handling ( #21265 )
2024-05-13 22:07:03 +08:00
Gerui Wang
0f96fc89aa
feat: extend eth_estimateGas api with state override
2024-05-01 16:27:11 +08:00
Wang Gerui
4178a97560
feat: extend eth_call api with state override;
...
extend statedb and state_object with necessary code
2024-04-30 15:57:42 +08:00
Daniel Liu
9de40946cf
rename function doCall and doEstimateGas
2024-04-07 11:07:40 +08:00
Daniel Liu
1c9f1d8279
all: change TxPreEvent to TxsPreEvent ( #16720 )
2024-03-28 11:16:21 +08:00
Daniel Liu
4616d59935
internal/ethapi: support block number or hash on state-related methods ( #19491 )
...
* Support for EIP-1898.
2024-03-12 10:40:03 +08:00
Daniel Liu
ece58f00b5
ethapi: add method eth_getAccountInfo
2024-03-06 14:11:15 +08:00
Liam
5ac87bbde6
disable profile flag ( #432 )
2024-02-20 01:37:58 +11:00
Daniel Liu
fa36b1ce66
internal/ethapi: early exit for plain transfer
2024-02-18 11:59:40 +08:00
Daniel Liu
d84e0b5ad2
internal/ethapi: estimate tx gas for EOA and arbitrary data ( #340 )
2024-02-18 11:59:40 +08:00
Wanwiset Peerapatanapokin
aaa246f60e
PDF-01 ( #397 )
...
* replace deprecated ioutil lib calls
* fix for FileInfo type required
* fix for ioutil.Discard
* fix .Discard
* fix for go-bindata generated files
2024-01-19 15:05:03 +04:00
Jianrong
8e1f71e86e
Fix the typo missied to missed
2023-12-28 23:03:53 +11:00
Jianrong
14f6b267c4
Make getMissiedRoundsInEpochByBlockNum API method lower case
2023-12-28 15:13:05 +11:00
Jianrong
6740545358
change the API to be block num based
2023-12-28 15:13:05 +11:00
Jianrong
e28b550a24
Add a new API to help debug when there are missed rounds
2023-12-28 15:13:05 +11:00
Liam
47bfdf7635
Move masternode in v2 config ( #372 )
...
* move masternode in v2 config
* update number to meet 7 vote for current setup
* add test
* update all failed test
* fix test
* remove comment
* remove comment
* fix test
2023-11-29 11:11:58 +11:00
Liam
ac404683b3
Merge pull request #365 from XinFinOrg/bump-go-v2
...
Bump go v1.21
2023-11-21 23:44:14 +11:00
Liam Lai
824d7b232f
resolve conflict
2023-11-20 23:53:49 +11:00
Daniel Liu
ce091e7b9c
internal/ethapi: EstimateGas support parameter blockTag ( #326 )
2023-11-16 10:24:42 +08:00
Liam
84994df759
Merge pull request #351 from XinFinOrg/bump-golang-1.21
...
Bump golang 1.21
2023-11-07 10:35:42 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos ( #349 )
2023-11-06 15:37:14 +11:00
Wang Gerui
5cfa0ea8bf
fix error during cherry-picking
2023-11-02 00:59:16 +08:00
Guillaume Ballet
6743853dca
console, internal/jsre: use github.com/dop251/goja ( #20470 )
...
This replaces the JavaScript interpreter used by the console with goja,
which is actively maintained and a lot faster than otto. Clef still uses otto
and eth/tracers still uses duktape, so we are currently dependent on three
different JS interpreters. We're looking to replace the remaining uses of otto
soon though.
2023-11-02 00:43:55 +08:00
Daniel Liu
f32c66ebc1
check slashed status in GetCandidateStatus
2023-10-24 12:27:06 +08:00
Daniel Liu
e17a0869e5
check masternode before candidate in GetCandidateStatus
2023-10-24 12:27:06 +08:00
Daniel Liu
745e097040
sort candidates in function GetCandidateStatus
2023-10-24 12:27:06 +08:00
Daniel Liu
8ed9a754b2
return more slashed nodes in GetCandidates
2023-10-24 12:27:06 +08:00
Daniel Liu
6e7d7f5002
return non-candidate masternode in GetCandidates
2023-10-24 12:27:06 +08:00
Daniel Liu
5d24dfdf7e
not sort candidates in getCandidatesFromSmartContract
2023-10-24 12:27:06 +08:00
Daniel Liu
7dc5ffe45a
fix topCandidates in function GetCandidates
2023-10-24 12:27:06 +08:00
Daniel Liu
3214bbeeba
sort candidates in function GetCandidates
2023-10-24 12:27:06 +08:00
Daniel Liu
ebf1002c67
fix function GetPreviousCheckpointFromEpoch
2023-10-24 12:27:06 +08:00
Daniel Liu
fbb8c54d86
remove 0x0000000000000000000000000000000000000000
2023-10-24 12:24:34 +08:00
Daniel Liu
e2359d9b8c
filter zero address in function GetCandidates
2023-10-24 12:15:24 +08:00
Daniel Liu
320b358830
replace package sort with common/sort
2023-10-23 22:51:06 +08:00
Daniel Liu
148e2f1699
add parameter number for function NewMessage
2023-10-16 11:24:47 +08:00
Liam
938db0afcc
Bug Fix: V2 getSigner API ( #313 )
2023-08-20 10:56:08 +10:00
Liam Lai
5623ce8de0
merge from master
2023-07-30 16:50:45 +10:00
Liam
7b657f0c4e
API: getMasternode and getPoolStatus ( #258 )
...
* API: getMasternode and getPoolStatus
* fix test
2023-05-01 23:01:39 +10:00
Jerome
63a5dc4ce6
Add periodic profiling function ( #235 )
...
* Add periodic profiling function
* add flag for periodic flag
* use right filepath join lib
* use 75 percent and log memory usage
---------
Co-authored-by: Liam Lai <liam.icheng.lai@gmail.com>
2023-03-16 16:41:52 +04:00
Daniel Liu
3c21125da5
fix EmptyAddress
2023-03-16 11:47:39 +08:00
Liam
9552500335
xdpos API getV2Block ( #227 )
2023-03-05 02:17:46 +08:00
Liam
f57e2c3577
Bug Fix on memory leak when doing send tx, block etc to peers ( #212 )
...
* resolve conflict
* update version number
2022-12-09 14:54:27 +08:00
Jerome
ff6ee67462
Fix memory leak when doing send tx, vote, block etc to peers ( #211 )
2022-11-28 21:52:36 +11:00
Daniel Liu
42379f530f
internal/ethapi: EstimateGas and Call handle revert error( #173 ) ( #200 )
...
hot fix for EstimateGas and Call handle revert error https://github.com/XinFinOrg/XDPoSChain/issues/173
2022-10-27 17:25:25 +08:00