Commit graph

11441 commits

Author SHA1 Message Date
Liam
f7025cee2f
Merge pull request #346 from gzliudan/defer-time.Since
call to time.Since is not deferred
2023-11-21 23:22:58 +11:00
Liam
87ba815341
Merge pull request #336 from gzliudan/fix-func-procFutureBlocks
Fix a loop closure bug in func  procFutureBlocks
2023-11-21 23:19:08 +11:00
Liam
27f38ab268
Merge pull request #329 from gzliudan/fix-issue-326
EstimateGas support the latest hardhat
2023-11-20 22:55:15 +11:00
Liam
c215316744
Make masternode dynamic (#356)
* make masternode dynamic

* fix all the tests

* remove cmt

* fix test again
2023-11-16 23:59:19 +11:00
Daniel Liu
ce091e7b9c internal/ethapi: EstimateGas support parameter blockTag (#326) 2023-11-16 10:24:42 +08:00
Banana-J
041b667fb0
add support for custom docker image namespace (#361) 2023-11-15 15:33:03 +11:00
Liam
738584cf7a
Merge pull request #357 from XinFinOrg/auto-deploy-old-and-new-code
Allow the devnet environment to auto deploy new and old code
2023-11-15 11:20:40 +11:00
Jianrong
938de617d3 Allow the devnet environment to auto deploy new and old code 2023-11-13 16:09:10 +11:00
Liam
546aac62ea
use TRAVIS_COMMIT (#353) 2023-11-07 00:29:49 +11:00
Liam
bedf88f3a7
fix notification syntax (#352) 2023-11-06 22:31:17 +11:00
Liam
75661b488b
add notification script (#350)
* add notification script

* skip always test
2023-11-06 20:54:16 +11:00
Banana-J
39f6e6ee56
upgrade the websocket in xdpos (#349) 2023-11-06 15:37:14 +11:00
Liam
64a2c84ed3
add testnet block for v2 (#345) 2023-11-02 10:57:37 +11:00
Daniel Liu
cd9f4f8094 core: fix loop closure bug in func procFutureBlocks 2023-11-01 15:02:04 +08:00
Daniel Liu
349f71db7b defer time.Since 2023-11-01 12:43:50 +08:00
Mingchao (Fisher) Yu
0a6fa8eda0
Merge pull request #344 from XinFinOrg/fix-CVE-2023-40591
fix-CVE-2023-40591
2023-11-01 05:52:30 +11:00
Felix Lange
f5cdfb2730 p2p: move ping handling into pingLoop goroutine (#27887)
Moving the response sending there allows tracking all peer goroutines
in the peer WaitGroup.
2023-10-31 21:52:55 +08:00
Liam
24d02fe2b4
check v2 switch block is epoch number (#342)
* check v2 switch block is epoch number

* revert sync pr

* add test

* make default block number valid

* fix log

* fix test
2023-10-30 19:03:34 +11:00
Liam
95f19e9684
Merge pull request #339 from gzliudan/new-gas-price-number
set new gas price number for testnet and mainnet
2023-10-30 11:25:57 +11:00
Daniel Liu
3b7f29a5a3 bump version to 1.4.10.beta1 2023-10-29 13:09:24 +08:00
wgr523
05ecfb3938
Merge pull request #284 from gzliudan/fix-issue-280
fix candidates bugs in eth api
2023-10-24 22:56:40 +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
f4154d0479 remove lendingstate.EmptyAddress 2023-10-24 12:27:03 +08:00
Daniel Liu
fbb8c54d86 remove 0x0000000000000000000000000000000000000000 2023-10-24 12:24:34 +08:00
Daniel Liu
2c02ddc2d9 remove xdc0000000000000000000000000000000000000000 2023-10-24 12:15:30 +08:00
Daniel Liu
e2359d9b8c filter zero address in function GetCandidates 2023-10-24 12:15:24 +08:00
Daniel Liu
4a59bdf15a add function IsZero for type Address 2023-10-24 12:00:08 +08:00
Daniel Liu
8339e133ee add function IsZero for type Hash 2023-10-24 12:00:08 +08:00
Daniel Liu
446f3fd580 set new gas price number for testnet and mainnet 2023-10-23 13:57:40 +08:00
Anil Chinchawale
1718a5b66b
Merge pull request #291 from gzliudan/fix-issue-288
Increase gas price from 250000000 to 12500000000
2023-10-16 12:27:54 +05:30
Daniel Liu
41c149916b set new gas price for devnet 2023-10-16 11:41:33 +08:00
Daniel Liu
7adb98fbe8 update gas fee 2023-10-16 11:24:47 +08:00
Daniel Liu
148e2f1699 add parameter number for function NewMessage 2023-10-16 11:24:47 +08:00
Daniel Liu
0e8b3f1d31 replace TRC21Cost with TxCost 2023-10-16 11:24:47 +08:00
Daniel Liu
9a7ffaa09f change msg.gasPrice in function AsMessage 2023-10-16 11:24:47 +08:00
Daniel Liu
845d3d49e5 change minGasPrice in function validateTx 2023-10-16 11:24:47 +08:00
Daniel Liu
05ad748307 change MinGasPrice in function Call 2023-10-16 11:24:47 +08:00
Daniel Liu
726172903b change min and max gas price in SuggestPrice 2023-10-16 11:24:47 +08:00
Daniel Liu
72c51e2bc9 set new MinGasPrice in function makeConfigNode 2023-10-16 11:24:47 +08:00
Daniel Liu
3764cb3d84 add gas price variables and function 2023-10-16 11:22:19 +08:00
Liam
548aa05990
current testnet masternode is 15 (#333) 2023-10-14 02:31:44 +11:00
Liam
493a0134da
set testnet v2 block (#330)
* set testnet v2 block

* set testnet v2 block
2023-10-12 10:50:23 +11:00