Commit Graph

15 Commits

Author SHA1 Message Date
0g-peterzhb
538afb00e1
add gas auto adjustment ()
* add gas auto adjustment

* refactor config
2025-02-18 09:09:50 +08:00
peilun-conflux
d15ef5ba3d
Add tokio console for debug. ()
It requires `tokio_unstable` in rust flags, so a `tokio-console`
features is added to be compatible with the default config.
To compile with the tokio console enabled, compile with
``RUSTFLAGS="--cfg tokio_unstable" cargo build --release --features tokio-console``
The usage of the tokio console can be found in https://github.com/tokio-rs/console.
2025-02-11 16:36:08 +08:00
peilun-conflux
5b8b8971ca
Set the log level of log correctly. ()
* Set the log level of `log` correctly.

* Update the log level dynamically.
2024-12-10 05:37:25 +08:00
Bo QIU
84c415e959
opt zgs version () 2024-09-24 16:42:38 +08:00
bruno-valante
1434b94495
Resolve dependency issue from atty () 2024-09-14 19:06:52 +08:00
bruno-valante
da0e2c7031
Fix issues found in auditions () 2024-09-14 18:19:16 +08:00
Bo QIU
f9120b1e4a
Add metrics for router and auto sync ()
* Add metrics configurations

* Add metrics in router package

* Add catch up info in sync service state

* Add metrics for auto sync

* update cargo lock
2024-08-19 09:54:52 +08:00
peilun-conflux
12d0c6b675
Check network id in status and ban incompatible peers. ()
* Check network id in status and ban incompatible peers.

* Revert debug changes.

* Request chain id from the blockchain server.
2024-08-14 11:35:48 +08:00
Bo QIU
821e4bd06e
Use public ip address to broadcast file announcement ()
* Use public ip address to broadcast file announcement

* auto detect public ip address for ENR address

* add more log
2024-07-09 17:39:14 +08:00
peilun-conflux
489d973347
Update run/config.toml and version. ()
* Update run/config.toml.

* Update version
2024-06-11 13:17:32 +08:00
peilun-conflux
ef82f64393
Implement Pruner to delete unwanted data. ()
* Implement Pruner.

* Put pruner in a crate.

* Fix clippy.

* Add rpc zgs_getShardConfig.

* Fix.

* Increase wait time.

* Add pruner_test and use max_num_chunks instead of size_limit.

* Add back shard config and fix test.

* fix: serde format

* Remove unneeded PORA_CHUNK_SIZE.

* Fix tests.

---------

Co-authored-by: MiniFrenchBread <103425574+MiniFrenchBread@users.noreply.github.com>
2024-05-31 13:11:06 +08:00
Chenxing Li
2262bc3fb9
Support mining on sharded storage. ()
* Change PoraHash compute

* Change padSeed compute

* Refactor

* Support mining on sharded storage

* Detect single core performance and set correct params for test

* Fix clippy

* Fix an overflow bug
2024-04-30 14:34:44 +08:00
Chenxing Li
c85fe38c59
Remove cli build from server build workflow ()
* Remove cli build from server build workflow

* Build cli for a single test
2024-04-23 14:35:24 +08:00
MiniFrenchBread
0047ab22d4
chore: update dependency ()
* chore: update dependency

* chore: update dependency
2024-04-08 13:54:01 +08:00
Peilun Li
9058467be1 Initial commit 2024-01-04 18:05:32 +08:00