Skip to content

Commit

Permalink
Merge #2500
Browse files Browse the repository at this point in the history
2500: Prepare testnet 9 r=damip a=damip



Co-authored-by: damip <[email protected]>
  • Loading branch information
bors[bot] and damip authored Apr 7, 2022
2 parents 593c2f2 + 9613488 commit 7618204
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
7 changes: 3 additions & 4 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions massa-models/src/node_configuration/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ lazy_static::lazy_static! {
.saturating_add(MassaTime::from(1000 * 60 * 3))
)
} else {
1646334000000.into()
1649358000000.into() // Thu Apr 07 2022 19:00:00 GMT+0000
};

/// TESTNET: time when the blockclique is ended.
pub static ref END_TIMESTAMP: Option<MassaTime> = if cfg!(feature = "sandbox") {
None
} else {
Some(1648764000000.into())
Some(1651345200000.into()) // Sat Apr 30 2022 19:00:00 GMT+0000
};
/// Private_key to sign genesis blocks.
pub static ref GENESIS_KEY: PrivateKey = "SGoTK5TJ9ZcCgQVmdfma88UdhS6GK94aFEYAsU3F1inFayQ6S"
Expand All @@ -63,7 +63,7 @@ lazy_static::lazy_static! {
if cfg!(feature = "sandbox") {
"SAND.0.0"
} else {
"TEST.8.0"
"TEST.9.0"
}
.parse()
.unwrap()
Expand Down Expand Up @@ -143,7 +143,7 @@ pub const BOOTSTRAP_RANDOMNESS_SIZE_BYTES: usize = 32;
/// Maximum of GAS allowed for a block
pub const MAX_GAS_PER_BLOCK: u64 = 100_000_000;
/// Maximum of GAS allowed for async messages exection on one slot
pub const MAX_ASYNC_GAS: u64 = 10_000_000;
pub const MAX_ASYNC_GAS: u64 = 100_000_000;

//
// Constants used in network
Expand Down
12 changes: 6 additions & 6 deletions massa-node/base_config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

[execution]
# max number of generated events kept in RAM
max_final_events = 100
max_final_events = 10000
# maximum length of the read-only execution requests queue
readonly_queue_length = 10
# by how many milliseconds shoud the execution lag behind real time
Expand All @@ -39,7 +39,7 @@
# max number of blocks waiting for dependencies
max_dependency_blocks = 2048
# number of final periods that must be kept at all times (increase to more resilience to short network disconnections, high values will increase RAM usage.)
force_keep_final_periods = 30
force_keep_final_periods = 20

# max number of batches of pool operations to scan when generating a block
max_operations_fill_attempts = 102400
Expand Down Expand Up @@ -84,7 +84,7 @@
# max cache size for which blocks a foreign node asked for
max_node_wanted_blocks_size = 1024
# max number of blocks we can ask simultaneously per node
max_simultaneous_ask_blocks_per_node = 2048
max_simultaneous_ask_blocks_per_node = 128
# max millis to wait while sending an event before dropping it
max_send_wait = 500
# max cache size for which operations a foreign node knows about
Expand Down Expand Up @@ -167,8 +167,8 @@
# timeout to establish a bootstrap connection
connect_timeout = 15000
# delay in milliseconds to wait between consecutive bootstrap attempts
retry_delay = 5000
# if ping is too high bootstrap will be inturrupted after max_ping milliseconds
retry_delay = 600000
# if ping is too high bootstrap will be interrupted after max_ping milliseconds
max_ping = 10000
# timeout for incoming message readout
read_timeout = 10000
Expand All @@ -183,7 +183,7 @@
# max size of recently bootstrapped IP cache
ip_list_max_size = 10000
# refuse consecutive bootstrap attempts from a given IP when the interval between them is lower than per_ip_min_interval milliseconds
per_ip_min_interval = 86400000
per_ip_min_interval = 180000

[pool]
# max number of operations kept per thread
Expand Down

0 comments on commit 7618204

Please sign in to comment.