Commit graph

337 commits

Author SHA1 Message Date
Daniel Liu
6c80c09cb8
Merge pull request #480 from gzliudan/lru
common/lru: add generic LRU implementation
2024-03-07 23:04:25 +08:00
geruiwang
968440ce3d core/vm: implement EIP-3855: PUSH0 instruction. 2024-03-07 21:44:37 +08:00
Daniel Liu
6ba7c26703 common/lru: add generic LRU implementation (#26162) 2024-03-07 20:59:16 +08:00
Liam
753729c28c
Disable xdcx related tx creation (#430)
* stop create xdcx tx
* refactor disable flag
* disable miner only
2024-03-04 22:06:47 +11:00
Gerui Wang
a31489541d implement EIP-4399, PREVRANDAO opcode.
and remove unused LondonBlock and BerlinBlock in `params/config.go` (already defined in constants.go)
2024-03-04 00:32:14 +08:00
Daniel Liu
928a0691ca implement EIP-3198 2024-03-01 15:04:32 +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
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 Lai
0656774172 define gas switch block number for testnet 2023-11-08 18:09:30 +11: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
Liam
64a2c84ed3
add testnet block for v2 (#345) 2023-11-02 10:57:37 +11: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
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
4bbe5a0443 common: implement old version of func sort.Slice 2023-10-23 22:51:06 +08:00
Daniel Liu
446f3fd580 set new gas price number for testnet and mainnet 2023-10-23 13:57:40 +08:00
Daniel Liu
41c149916b set new gas price for devnet 2023-10-16 11:41:33 +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
Liam
9369f7b3fa
update apothem config (#310) 2023-08-19 16:27:39 +10:00
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
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 Lai
5623ce8de0 merge from master 2023-07-30 16:50:45 +10:00
Liam Lai
fc5b7d1bbc add testnet constant parameter 2023-02-16 12:08:58 +08:00
Daniel Liu
6a768b04f9
add enable-0x-prefix flag (#194) 2022-12-09 19:15:13 +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
Jianrong
94781c741d add devnet constants 2022-09-03 14:54:48 +08:00
Liam
5fffa0cd43
xin-188 update penalty limit epoch constant for v2 and shorter test (#87) 2022-05-18 11:17:32 -04:00
Liam Lai
5764dbc249 update test for RemoveItemFromArray 2022-04-14 02:17:30 -06:00
Liam Lai
d0cde5c51e fix new masternode bug 2022-04-14 02:07:26 -06:00
Liam
a3d5d82722
xin-168 node stops because dead lock on timeout events (#73)
* fix race condition issue

* add test to prove
2022-03-25 21:24:35 +11:00
Jerome
d773e15ca8
Xin 137 (#62)
* add GapNumber

* fix broken countdown test

* add gapNumber to existing tests
2022-02-28 18:51:42 +11:00
Jerome
97985fda85
move verify QC into verify header, fix broken tests etc (#61) 2022-02-27 10:25:26 +11:00
Jianrong
521b703207 rename some config variables 2021-12-30 11:00:20 +11:00
Jianrong
bf56a64fe0 make initilised private to countdown 2021-12-30 11:00:20 +11:00
Jianrong
bcb1fea280 add countdown timer 2021-12-30 11:00:20 +11:00
AnilChinchawale
5112dc7564 Set Network Upgrade BlockNumber and Version. 2021-11-15 19:34:07 +05:30
olumuyiwadad
420a589599 ignoreSignerBlockList added. 2021-11-11 18:48:50 +05:30
olumuyiwadad
abee93984b Mainnet test sync. 2021-11-08 14:55:20 +05:30
olumuyiwadad
75b2f3ca9c
Merge pull request #2 from XinFinOrg/apothem
Handle '0x' or 'xdc' prefix
2021-09-27 12:30:57 +05:30
Anil Chinchawale
e1daa99b52
Handle '0x' or 'xdc' prefix 2021-09-23 17:54:08 +05:30
olumuyiwadad
7d08fa95ba
Merge branch 'apothem' into new_EVM_Upgrade 2021-09-23 17:05:46 +05:30
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
AnilChinchawale
f4e745b72e update apothem block number. 2021-09-23 09:40:49 +05:30
Anil Chinchawale
de82274056
Update constants.go 2021-09-23 08:20:20 +05:30
Anil Chinchawale
3078da4fad
Update constants.go 2021-09-23 07:09:12 +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
8daf35ff1c fix error in address prefix hasXDCPrefix 2021-09-17 18:53:18 +05:30