wgr523
cd74061ac2
Extend masternode candidate ( #261 )
...
* V2 truncate MaxMasternodes from candidates after penalty,
V1 same as before
TestUpdateMultipleMasterNodes: test V2, in snapshot we have all candidates, but at epoch switch, we pick MaxMasternodes
* code looks better
2023-05-16 21:43:56 +08:00
Liam
9191730c63
change variable new without dash ( #265 )
2023-05-16 22:46:32 +10:00
Liam
153f8d296d
Fix API penalty bug and add more info in api ( #262 )
...
* fix api bug
* remove cmd
2023-05-16 21:23:02 +10:00
Liam
5b75d3a904
enhance 3 regions deployment ( #259 )
...
* enhance 3 regions deployment
* remove other regions config
* remove other unused code
2023-05-14 22:13:37 +10:00
Liam
7b657f0c4e
API: getMasternode and getPoolStatus ( #258 )
...
* API: getMasternode and getPoolStatus
* fix test
2023-05-01 23:01:39 +10:00
Liam
7894cbe205
fix config for round ( #249 )
2023-04-17 12:13:32 +10:00
Liam
2135e2b0a1
update config for fix ( #248 )
2023-04-16 01:48:54 +10:00
Liam
95d12211fe
reduce to 0 single region ( #247 )
2023-04-06 00:29:03 +10:00
Liam
02feb8b1b5
reduce to 25 single region ( #246 )
2023-04-04 22:29:26 +10:00
Liam
dc824cc8c3
reduce single region to 75 ( #245 )
2023-04-03 16:09:50 +10:00
Liam
578665af86
reduce single region to 100 ( #244 )
2023-04-02 22:06:35 +10:00
Liam
556f98a51b
attack recover ( #243 )
2023-04-01 04:32:28 +11:00
wgr523
436faf34e1
Fix of discreason type problem ( #242 )
...
Problem: https://github.com/advisories/GHSA-wjxw-gh3m-7pm5
Fix: add non-negative `if` condition.
cannot use fix in geth (https://github.com/ethereum/go-ethereum/pull/24507 ) since modifying DiscReason to uint8 messes up the message encode
2023-03-26 22:54:56 +11:00
Jerome
21c54fd1d6
Devnet shall not store historical data as it will blow up memory ( #239 )
2023-03-24 18:47:55 +11: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
Liam
460cb52bac
change to 2 second mining time ( #234 )
2023-03-12 15:31:07 +04:00
Liam
9552500335
xdpos API getV2Block ( #227 )
2023-03-05 02:17:46 +08:00
Mingchao (Fisher) Yu
105f387296
Merge pull request #231 from XinFinOrg/upgrade-fargate-spec
...
upgrade fargate spec to test if node crash or not
2023-03-03 06:21:19 +11:00
Liam Lai
a58a7013e5
upgrade fargate spec to test if node crash or not
2023-03-02 01:52:15 +08:00
Jerome
e902243186
missing . in local devnet setup script ( #230 )
2023-03-01 18:54:45 +08:00
Mingchao (Fisher) Yu
8b1f77ea01
Merge pull request #226 from XinFinOrg/use-constant-on-forking-param
...
add v2 testnet forking constant parameter
2023-02-23 19:51:39 +11:00
Liam Lai
814a276ae3
remove test files
2023-02-23 14:22:59 +08:00
Liam Lai
65ffdcd0a9
fix test
2023-02-23 14:22:30 +08:00
Liam Lai
3a305d15b8
reorder config
2023-02-16 12:10:32 +08:00
Liam Lai
fc5b7d1bbc
add testnet constant parameter
2023-02-16 12:08:58 +08:00
Liam
8fc4b8e52d
use constant number instead of variable ( #225 )
2023-02-08 10:25:45 +08:00
ben~know nothing
bd46a94e74
Merge pull request #214 from XinFinOrg/devnet-update-query
...
Devnet Update Query
2023-02-03 21:43:40 -05:00
span14
eac0e42584
fix typo
2023-02-02 12:13:16 -05:00
span14
5aff0d35db
fix typo
2023-01-30 22:22:57 -05:00
span14
c637c7b915
fix switch case issue
2023-01-30 22:22:57 -05:00
span14
abb0dcc48b
add confirmed loopup
2023-01-30 22:22:57 -05:00
Jerome
49fc016245
Add script so that we can easily run local against the devnet ( #224 )
2023-01-30 23:03:04 +11:00
Jerome
1430b74a98
Add more log info during updateM1 and change log level on devnet to 3 ( #223 )
2023-01-22 22:53:22 +11:00
Jerome
2ca1d0461d
Fix issue when resync is not getting the right consensus config values ( #221 )
...
* Fix issue when resync is not getting the right consensus config values
* add test and fix log bug
* fix test
* delete temp file
Co-authored-by: Liam Lai <liam.icheng.lai@gmail.com>
2023-01-17 21:34:42 +08:00
Liam
42220718bd
test more dimension on devnet ( #219 )
2022-12-29 21:39:57 +08:00
Jerome
ff75f0f22e
Allow deploy with different version of XDC on devnet ( #218 )
2022-12-25 19:07:50 +08:00
Liam
c4f9a552e5
Multi config bug fix ( #216 )
...
* refactor multi config
remove pool cleaner
correct message and log level
2022-12-17 20:23:46 +08:00
Jerome
96339ec3ba
Make the ECS on devnet only use 0.25 units of CPU ( #215 )
2022-12-12 20:53:41 +11:00
Liam
d4fc180f20
test multi config on devnet ( #213 )
2022-12-07 12:19:11 +08:00
Liam
6ffbd3e141
Xin 259 support multi v2 config ( #210 )
...
* update timeout period and waittime
* remove wrong comment
* update config for preparing test
2022-12-06 20:08:56 +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
Jerome
fb6b8d9029
adjust the number of nodes to 125 on devnet ( #207 )
2022-11-22 22:22:48 +11:00
Liam
f9c0c40515
change devnet switch block for large scale test ( #205 )
...
* change switch block
* use mainnet masternode
* update mining and timeout time
* add timer on round number
* remove bug code
2022-11-12 12:19:28 +08:00
Jerome
fb7234c93f
Rename s3 bucket ( #206 )
...
* make EFS bucket per node
* Rename S3 bucket to td-devnet-bucket
2022-11-12 12:29:23 +11:00
Jerome
1ac3e9c8d9
Increase devnet ECS memory ( #203 )
...
* Increase devnet ECS memory
* decrease devnet ecs cpu
2022-10-30 13:38:23 +11:00
Jerome
d50e01b7d8
Merge pull request #201 from XinFinOrg/XIN-243-fix-CD
...
Reduce devnet ECS cpu and memory to save cost & fix a bug in travis w…
2022-10-23 14:37:00 +11:00
Jianrong
d57ea6d79c
add ip address to devnet nodes when show up in stats server
2022-10-23 11:04:19 +11:00
Jianrong
fc3f011d58
Reduce devnet ECS cpu and memory to save cost & fix a bug in travis where aws is not installed
2022-10-23 11:01:39 +11:00
Jerome
772a620a61
Merge pull request #197 from XinFinOrg/XIN-243-ci-cd-env-path-fix
...
Fix env path error
2022-10-17 22:59:22 +11:00
Jianrong
2e1c1dac25
Fix env path error
2022-10-17 21:34:04 +11:00