Commit graph

11377 commits

Author SHA1 Message Date
Liam
7997dc68c1
build universe docker image (#309)
* build universe docker image

* build universe docker image

* build universe docker image

---------

Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-10 15:37:23 +10:00
Liam
7155e722e4
make sync mode full to avoid race condition (#305)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-07 19:45:19 +10:00
Liam
379ab9ccc7
Merge pull request #304 from XinFinOrg/bump-memory
bump memory for fix
2023-08-07 18:47:24 +10:00
Liam Lai
2606438f7c bump memory for fix 2023-08-07 18:34:54 +10:00
Liam
8d3a17af92
Merge pull request #303 from XinFinOrg/dev-upgrade-resolve-conflict-2
Dev upgrade resolve conflict 2
2023-08-06 23:52:17 +10:00
Liam Lai
f81b286b28 resolve conflict 2023-08-06 22:52:59 +10:00
Liam
53f066b895
bump current version to 1.4.8 (#301)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-06 19:02:53 +10:00
Liam
89d2cbe47d
Add pull request template (#299) (#302)
Co-authored-by: Banana-J <wjrjerome@gmail.com>
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-06 14:34:54 +10:00
Banana-J
10f80e34f1
Add pull request template (#299) 2023-08-05 22:17:26 +10:00
Liam
368ccdb77b
add parameter into devnet config (#298)
Co-authored-by: Liam Lai <liam.lai@datameshgroup.com.au>
2023-08-05 16:32:58 +10:00
Liam
bb6d797dad
Merge pull request #296 from XinFinOrg/dev-upgrade-merge-master
Dev upgrade merge master
2023-08-02 17:29:48 +10:00
Liam Lai
69c38ac490 fix broken the tests and one bug 2023-08-02 09:27:46 +10:00
Liam Lai
5623ce8de0 merge from master 2023-07-30 16:50:45 +10:00
Wanwiset Peerapatanapokin
176a3d0756
Merge pull request #292 from XinFinOrg/add-standbynodes-api
add standbynodes in GetMasternodesByNumber similar way to subnet
2023-07-24 12:27:26 +07:00
Wanwiset Peerapatanapokin
a959bea092 add standbynodes in GetMasternodesByNumber similar way to subnet 2023-07-21 10:07:05 +04:00
Banana-J
2c1aba814e
add timestamp in v2 block response (#290) 2023-07-15 11:33:36 +10:00
Liam
96f28b8bc6
enhance api for subnet project (#289) 2023-07-14 20:04:01 +10:00
Anil Chinchawale
d2ce55ec96
Merge pull request #237 from gzliudan/fix-empty-address
fix empty address
2023-06-16 14:23:44 +05:30
Wanwiset Peerapatanapokin
060d9ce26f
mac arm build fix ref: https://github.com/cloudflare/bn256/pull/4 (#278)
Co-authored-by: Wanwiset Peerapatanapokin <wanwiset25@gmail.com>
2023-06-12 23:46:55 +10:00
Liam
72027ddf85
add devnet bootnodes (#279)
* add devnet bootnodes

* add devnet bootnodes
2023-06-11 13:39:51 +10:00
wgr523
d578e092cd
stop reorg at committed blocks (#276)
This PR makes committed blocks non-reorg-able inside `Blockchain` struct. This ensures V2 consensus safety property in the aspect of blockchain head: committed blocks' state will not be reorg and users will always see committed blocks (or their child blocks) as current head of the blockchain.

* stop reorg at committed blocks

* fix tests

* fix tests
2023-06-08 01:16:13 +08:00
Anil Chinchawale
433c202a55
Update version.go 2023-06-02 11:15:49 +05:30
Liam
2df16bbd37
merge waitPeriod into minePeriod (#274)
* merge waitperiod into mindePeriod

* merge waitperiod into mindePeriod
2023-05-31 23:40:50 +10:00
Liam
767dfde1da
add v2 config into genesis wizard (#273) 2023-05-31 16:03:31 +10:00
Anil Chinchawale
21ae43ac15
Merge pull request #198 from Carry-So/fix-test-error
cmd/XDC: remove redundant newline in bugcmd.go to pass make test
2023-05-27 13:35:19 +05:30
Anil Chinchawale
3e466b6bc1
Merge pull request #260 from gzliudan/fix-issue-256
fix "nonce too low" error when call debug_traceBlock api
2023-05-26 11:51:12 +05:30
wgr523
3e0505a0c7
cherry-pick from d8ada03eac (#255) 2023-05-25 14:23:27 +10:00
wgr523
2f10aac60f
eth: ensure from<to when tracing chain (credits Chen Nan via bugbounty) (#251)
Co-authored-by: Martin Holst Swende <martin@swende.se>
2023-05-25 14:22:23 +10:00
wgr523
62de42db68
les: add Skip overflow check to GetBlockHeadersMsg handler (#16891) (#250)
Co-authored-by: Felföldi Zsolt <zsfelfoldi@gmail.com>
2023-05-25 14:22:01 +10:00
Liam
706292e1a1
Add debug msg and reset devnet config (#270)
* add debug msg

* remove all devnet config since we need to reset devnet
2023-05-24 14:52:58 +10:00
Liam
3b835d1354
update travis script for multi region deployment (#269) 2023-05-24 12:26:34 +10:00
wgr523
a67b347ba8
fix comment of todo (#267) 2023-05-20 17:46:06 +08:00
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
Daniel Liu
fd6cbd5df1 fix nonce error for debug trace api (#256) 2023-05-06 09:50:25 +08:00
Liam
7b657f0c4e
API: getMasternode and getPoolStatus (#258)
* API: getMasternode and getPoolStatus

* fix test
2023-05-01 23:01:39 +10:00
Anil Chinchawale
858bfa2b84
Merge pull request #253 from gzliudan/issue-252
remove genesis file dependency for apothem network
2023-04-23 11:50:50 +05:30
Daniel Liu
87455baf2e init genesis from source if flag --apothem 2023-04-20 16:52:35 +08:00
Daniel Liu
e00e34c79b remove duplicate common.TIPTRC21Fee assignment 2023-04-20 14:51:52 +08: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