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
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
Jerome
4eea723717
Add API to get latest committed blockInfo, also send it via 'block' message type to stats server ( #113 )
2022-07-16 16:14:36 +10:00
Jerome
bcffe1ec16
Give the XDC option to use emit metrics ( #89 )
2022-06-19 13:42:48 +02:00
Jerome
38c3582841
Add v2 yourturn ( #38 )
...
* Add v2 yourturn
* add isEpochSwitchByRound into YourTurn
Co-authored-by: Gerui Wang <wgr523@gmail.com>
2022-01-16 19:18:01 +11:00
Jerome
f8d3f9f8c6
Xin 113 is epoch switch ( #37 )
...
* add isEpochSwitch function and refactor utils
* fix broken first v2 epoch switch block
* use adaptor epoch switch function to determine v1 v2 epoch swtich block
* add test for the GetMasternodesByNumber and GetCurrentEpochSwitchBlock function
* add v2 test for isAuthroisedAddress
* Use GetCurrentEpochSwitchBlock in findNearestSignedBlock api
2022-01-14 21:38:38 +11:00
Anil Chinchawale
079e4e16d5
Fix Invalid address in XDC Console.
2021-12-05 11:47:31 +05:30
Jianrong
0aec2a1e9e
Seperate hooks from XDPoS adaptor
2021-10-10 16:02:19 +11:00
Jianrong
fcbc5a28e1
refactor XDPoS to accommodate multiple consensus engine versions
2021-10-10 16:02:16 +11:00
olumuyiwadad
cf18ceba33
Merge branch 'forking-incident-fix' of https://github.com/hash-laboratories-au/XDPoSChain into hash-laboratories-au-forking-incident-fix
2021-09-23 17:01:19 +05:30
olumuyiwadad
b5abbfed79
new EVM Upgrade
...
- Solidity Upgraded up to v0.8.0
- Fixed and Added eth_chainId
- Fix error in TransactionRecipet
- Reward halving issue fixed
2021-09-21 16:53:46 +05:30
olumuyiwadad
571c41f891
FIx Bad block error.
2021-09-17 17:59:06 +05:30
Jianrong
7b7e34ae00
Fix XDC forking incident with tests
2021-08-29 14:20:01 +10:00
Jianrong
2d92ccb59b
fix all XDCÐ tests and enable it in CI
2021-08-25 23:51:42 +10:00
Jianrong
0fdab2027c
add linting as the first CI task
2021-08-07 14:27:08 +10:00
dev-vadim
dbe8c9d984
upgrade XDC.Network with v1.8.27.
2020-12-23 16:32:06 +05:30
diglspacedavid
474cc37036
upgrade codebase with ethereum:v1.8.13
2020-11-23 13:40:30 +05:30
AnilChinchawale
80cd2d3871
added eth_client func.
2020-08-31 17:52:03 +05:30
Sinh Vu
3180921a7f
upgrade increase masternodes
2019-07-23 17:25:55 +07:00
parmarrushabh
3e5f4d54a8
Hot_Fix Bad block Error
2019-04-25 12:11:30 +05:30
Martin Holst Swende
e872ba7a9e
eth, les, geth: implement cli-configurable global gas cap for RPC calls ( #19401 )
...
* eth, les, geth: implement cli-configurable global gas cap for RPC calls
* graphql, ethapi: place gas cap in DoCall
* ethapi: reformat log message
2019-04-08 15:15:13 +03:00
Martin Holst Swende
af401d03a3
all: simplify timestamps to uint64 ( #19372 )
...
* all: simplify timestamps to uint64
* tests: update definitions
* clef, faucet, mobile: leftover uint64 fixups
* ethash: fix tests
* graphql: update schema for timestamp
* ethash: remove unused variable
2019-04-08 12:00:42 +03:00
parmarrushabh
2fa93cdbf2
Fixed randomize for mi and m2
2019-03-25 12:31:54 +05:30
parmarrushabh
85db85cc20
fix eth.getCandidateStatus api
2019-03-25 11:18:54 +05:30
AnilChinchawale
ed6533e092
Added "xdc" prefix in address
2019-03-17 16:14:42 +05:30
AnilChinchawale
22732d57fb
Minor Changes added
2019-03-12 15:57:12 +05:30
AnilChinchawale
85302180ec
web3 updated
2019-03-12 15:55:18 +05:30
parmarrushabh
1b13b3a305
hot fix
2019-02-24 17:40:26 +05:30
parmarrushabh
147e1f0baf
create new func penalties for hard fork
2019-02-19 17:25:31 +05:30
Felix Lange
b247052a64
build: avoid dput and upload with sftp directly ( #19067 )
...
(cherry picked from commit a8ddf7ad83 )
2019-02-19 10:58:45 +02:00
parmarrushabh
a479343cc7
Implement api eth.getCandidateStatus
2019-02-14 14:59:37 +05:30