Skip to content

Commit

Permalink
rollback to mainnet config and Change two constants to config and add…
Browse files Browse the repository at this point in the history
… pruning block storing (#4697)

* Revert "Devn 28 3 (#4683)"

This reverts commit a4d9cda.

* Change two constants ledger backup to config and add pruning block storing

* fix clippy
  • Loading branch information
AurelienFT committed May 29, 2024
1 parent a804a2c commit 18119d4
Show file tree
Hide file tree
Showing 86 changed files with 1,931,679 additions and 400 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@
**/target
massa-client/config/*
massa-client/wallet.dat
massa-execution-worker/test_db/*
massa-execution-worker/**.bin
massa-node/config/*
massa-node/logs.txt
massa-node/storage/*
massa-node/dump/*
massa-node/storage/peers.json
massa-node/src/tests/storage
shell.nix
Expand Down
82 changes: 41 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion massa-api-exports/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "massa_api_exports"
version = "28.3.0"
version = "2.1.0"
authors = ["Massa Labs <info@massa.net>"]
edition = "2021"

Expand Down
2 changes: 2 additions & 0 deletions massa-api-exports/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ pub struct APIConfig {
pub last_start_period: u64,
/// chain id
pub chain_id: u64,
/// Delta to compute upper bounds when fetching deferred credits
pub deferred_credits_delta: MassaTime,
/// minimal fees to include an operation in a block
pub minimal_fees: Amount,
}
Loading

0 comments on commit 18119d4

Please sign in to comment.