Commit graph

12510 commits

Author SHA1 Message Date
JukLee0ira
653b59710e core/rawdb: separate raw database access to own package (#16666 #19345) 2025-01-22 15:19:39 +08:00
Daniel Liu
2a5737f91b
Merge pull request #809 from gzliudan/xinfin_bootnodes
cicd: update bootnodes for mainet
2025-01-21 16:19:24 +08:00
Daniel Liu
7710bfc19d cicd: update bootnodes for mainet 2025-01-21 16:08:53 +08:00
Wanwiset Peerapatanapokin
3e02384f43
Merge pull request #804 from XinFinOrg/fix-cd-command
fix deploy command
2025-01-20 09:45:21 +04:00
Daniel Liu
694111c2a6
Merge pull request #805 from gzliudan/gencodec
build: add imports for go generate tools
2025-01-20 13:13:30 +08:00
Daniel Liu
588f61661c build: add imports for go generate tools (#24682) 2025-01-20 11:52:59 +08:00
wgr523
537dc5e6fb
Exp timeout (#764)
* feat: write duration calculation in countdown as
interface. add more inputs as function argument

* feat: ExpTimeoutDuration

* fix: three dots usage

* feat: refine exp duration

* feat: add exp timeout config and use it in countdown

* feat: remove const countdown

* feat: remove use of interface in countdown, use error

* fix: countdown reset timer problem

* fix: add default ExpTimeoutConfig for config
2025-01-19 23:04:03 +08:00
wanwiset25
deef6b477b make deploy command ignore deployment not found 2025-01-16 13:12:08 +04:00
benjamin202410
38f4c98740
remove-ec2-rpcs (#793)
Co-authored-by: liam.lai <liam.lai@us>
2025-01-15 19:47:58 -08:00
Daniel Liu
82bbe93b1f
Merge pull request #802 from gzliudan/rm_ens
contracts: remove ens
2025-01-16 08:50:44 +08:00
Daniel Liu
7bbb05d672 contracts: remove ens 2025-01-16 08:50:16 +08:00
Daniel Liu
82aefde53d
Merge pull request #801 from gzliudan/ci_generate
build: add checker for 'go generate'
2025-01-16 08:49:18 +08:00
Daniel Liu
1d5d2f1349 build: add 'go generate' checker 2025-01-16 08:21:42 +08:00
Wanwiset Peerapatanapokin
cb720be158
Merge pull request #794 from XinFinOrg/rm-old-devnet-cfg
remove old config
2025-01-15 21:32:41 +04:00
wanwiset25
9bfec33942 remove old config
update bootnodes and cicd
2025-01-15 21:21:10 +04:00
liam.lai
3b6ece40d7 update mainnet bootnode list 2025-01-15 10:13:18 +08:00
Daniel Liu
e2b4b79d2f
Merge pull request #797 from gzliudan/ci_tidy
build: add 'go mod tidy' checker
2025-01-15 10:10:58 +08:00
Daniel Liu
00797dda0c build: add 'go mod tidy' checker 2025-01-15 10:10:38 +08:00
Daniel Liu
d0c6442af8
Merge pull request #799 from gzliudan/fix_gen_tx_json
core/types: remove generate directive for gen_tx_json.go
2025-01-15 10:06:28 +08:00
Daniel Liu
47a67158e5 core/types: remove generate directive for gen_tx_json.go 2025-01-14 11:50:20 +08:00
Daniel Liu
2a26a571d9
Merge pull request #792 from gzliudan/golangci-lint
build: support golangci-lint v1.63.4
2025-01-12 17:03:27 +08:00
Daniel Liu
baea5d3da7 build: support golangci-lint v1.63.4 2025-01-11 23:56:59 +08:00
Wanwiset Peerapatanapokin
7091b934a5
ignore error and remove old function (#791) 2025-01-10 00:44:00 -08:00
Daniel Liu
5cff4564aa
Merge pull request #790 from gzliudan/upgrade_crypto
upgrade crypto package
2025-01-10 13:21:01 +08:00
gitglorythegreat
9ca3d10001 crypto/bn256: fix MulScalar (#30974)
The `a` parameter should be used in the `MulScalar` function. The
upstream cloudflare and google repos have already merged fixes.

Reference:
*
8d7daa0c54
* https://github.com/cloudflare/bn256/pull/33
2025-01-04 11:00:57 +08:00
kevaundray
e581093ce1 crypto, tests/fuzzers: add gnark bn254 precompile methods for fuzzing (#30585)
Makes the gnark precompile methods more amenable to fuzzing
2025-01-04 11:00:57 +08:00
Daniel Liu
15be5ba464 crypto: use decred secp256k1 directly (#30595) 2025-01-04 11:00:57 +08:00
zhiqiangxu
e19093f344 crypto: remove hardcoded value for secp256k1.N (#30126) 2025-01-04 11:00:57 +08:00
SuiYuan
104a97354a crypto/secp256k1: change receiver variable name to lowercase (#29889) 2025-01-04 11:00:57 +08:00
George Ma
136e87fa4c crypto: fix docstrings and comments 2025-01-04 11:00:57 +08:00
Daniel Liu
efad15f9f4 crypto: use clear from go1.21 (#29307) 2025-01-04 11:00:57 +08:00
Daniel Liu
d0566e4165 crypto: update to go version 1.22 (#28946) 2025-01-04 11:00:57 +08:00
Wanwiset Peerapatanapokin
97879c0ac5
Merge pull request #781 from XinFinOrg/new-devnet
New devnet
2025-01-04 00:15:18 +07:00
wanwiset25
12488b86ed add bootnodes 2025-01-01 22:07:31 -05:00
wanwiset25
0404803366 optimize shell script 2025-01-01 22:07:31 -05:00
wanwiset25
654be4d874 add cicd 2025-01-01 22:07:31 -05:00
wanwiset25
4859d5e7db new constants and genesis.json 2025-01-01 22:06:09 -05:00
wanwiset25
44ac46f676 add local xdpos function
add readme

changes to support xdpos2 protocol from block 0
2025-01-01 22:06:09 -05:00
benjamin202410
dd0fb11fa3
reduce gas limit for devnet to 50M (#785)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-30 18:31:47 -08:00
benjamin202410
ac3b44eebf
remove devnet ecs terraform (#786)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-30 18:31:31 -08:00
benjamin202410
6307460603
update bootnode list (#783)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:50:28 -08:00
benjamin202410
f8decab061
code refactor for performance (#782)
Co-authored-by: liam.lai <liam.lai@us>
2024-12-29 21:47:14 -08:00
Daniel Liu
911fe219df
Merge pull request #779 from gzliudan/core_blockchain
upgrade the core package for reorg
2024-12-28 13:05:40 +08:00
benjamin202410
3e62a4c611
Merge pull request #778 from XinFinOrg/release-br-v2.4.6-beta1-dev-upgrade
Release br v2.4.6 beta1 merge back to dev upgrade
2024-12-27 20:07:41 -08:00
Daniel Liu
c8c39efb63 core: remove unnecessary log copy (#27475) 2024-12-28 10:45:00 +08:00
Daniel Liu
d03859d49e core: update the fast block on chain import at the end of the fast sync phase (#23576) 2024-12-28 10:44:54 +08:00
Daniel Liu
2baadc6e87 core: improve shutdown synchronization in BlockChain (#22853) 2024-12-28 10:44:49 +08:00
Daniel Liu
2d5dc550d0 core/rawdb: rename WriteTxLookupEntries to WriteTxLookupEntriesByBlock (#21480) 2024-12-28 10:44:42 +08:00
Daniel Liu
d7e0e9d734 core: write chain data in atomic way (#20287) 2024-12-28 10:44:36 +08:00
Daniel Liu
1c555b2def core, light: get rid of the dual mutexes (#18436) 2024-12-28 10:44:30 +08:00