Skip to content

Commit

Permalink
casper-test 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sacherjj committed Feb 15, 2022
1 parent d6f3a60 commit f25096b
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 14 deletions.
2 changes: 1 addition & 1 deletion casper-node_release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.1-b7802f4
1.3.1-10ed44340
30 changes: 30 additions & 0 deletions config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,36 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
[comment]: <> (Security: in case of vulnerabilities)


## 1.3.1 - 1346
### casper-node 1.3.1-10ed44340

## Added
* config-example.toml
* consensus
* highway
* shutdown_on_standstill = true
* network
* max_outgoing_byte_rate_non_validators
* max_incoming_message_rate_non_validators
* storage
* enable_mem_deduplication
* mem_pool_prune_interval
* linear_chain_sync
* sync_timeout

## Changed
* chainspec.toml
* protocol
* version
* activation_point
* config-example.toml
* consensus
* highway
* standstill_timeout from 5min to 30min
* event_stream_server
* qps_limit changed to max_concurrent_subscribers


## 1.2.1 - 1143
### casper-node 1.2.1-b7802f4

Expand Down
4 changes: 2 additions & 2 deletions config/chainspec.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[protocol]
# Protocol version.
version = '1.2.1'
version = '1.3.1'
# Whether we need to clear latest blocks back to the switch block just before the activation point or not.
hard_reset = true
# This protocol version becomes active at this point.
Expand All @@ -11,7 +11,7 @@ hard_reset = true
# in contract-runtime for computing genesis post-state hash.
#
# If it is an integer, it represents an era ID, meaning the protocol version becomes active at the start of this era.
activation_point = 1143
activation_point = 1346
# Optional era ID in which the last emergency restart happened.
#last_emergency_restart = 0

Expand Down
45 changes: 34 additions & 11 deletions config/config-example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ unit_hashes_folder = "/var/lib/casper/casper-node"
pending_vertex_timeout = '30min'

# If the current era's protocol state has not progressed for this long, shut down.
standstill_timeout = '5min'
standstill_timeout = '30min'

# If after another `standstill_timeout` there still was no progress, shut down.
shutdown_on_standstill = true

# Log inactive or faulty validators periodically, with this interval.
log_participation_interval = '1min'
Expand Down Expand Up @@ -110,13 +113,6 @@ known_addresses = ['3.208.91.63:35000','35.169.197.193:35000']
# The interval (in milliseconds) between each fresh round of gossiping the node's public address.
gossip_interval = 120_000

# Enable systemd support. If enabled, the node will notify systemd once it has synced and its
# listening socket for incoming connections is open.
#
# It is usually better to leave this option off and enable it explicitly via command-line override
# only in the unit files themselves via `-C=network.systemd_support=true`.
systemd_support = false

# Minimum amount of time that has to pass before attempting to reconnect after losing all
# connections to established nodes.
isolation_reconnect_delay = '2s'
Expand All @@ -128,6 +124,15 @@ initial_gossip_delay = '5s'
# How long a connection is allowed to be stuck as pending before it is abandoned.
max_addr_pending_time = '1min'

# The maximum amount of upstream bandwidth in bytes per second allocated to non-validating peers.
# A value of `0` means unlimited.
max_outgoing_byte_rate_non_validators = 6553600

# The maximum amount of requests from validating peers per second answered.
# A value of `0` means unlimited.
max_incoming_message_rate_non_validators = 3000


# ==================================================
# Configuration options for the JSON-RPC HTTP server
# ==================================================
Expand Down Expand Up @@ -180,9 +185,8 @@ address = '0.0.0.0:9999'
# The number of event stream events to buffer.
event_stream_buffer_length = 5000

# The global max rate of requests (per second) before they are limited.
# Request will be delayed to the next 1 second bucket once limited.
qps_limit = 10
# The maximum number of subscribers across all event streams the server will permit at any one time.
max_concurrent_subscribers = 100


# ===============================================
Expand Down Expand Up @@ -226,6 +230,16 @@ max_deploy_metadata_store_size = 322_122_547_200
# 10_737_418_240 == 10 GiB.
max_state_store_size = 10_737_418_240

# Memory deduplication.
#
# If enabled, nodes will attempt to share loaded objects if possible.
enable_mem_deduplication = true

# Memory duplication garbage collection.
#
# Sets the frequency how often the memory pool cache is swept for free references.
mem_pool_prune_interval = 1024


# ===================================
# Configuration options for gossiping
Expand Down Expand Up @@ -300,6 +314,15 @@ verify_accounts = true
#max_query_depth = 5


# ========================================================
# Configuration options for synchronizing the linear chain
# ========================================================
[linear_chain_sync]

# The amount of time that the node will try to sync without making progress before shutting down.
sync_timeout = '1hr'


# ====================================================================
# Configuration options for selecting deploys to propose in new blocks
# ====================================================================
Expand Down
1 change: 1 addition & 0 deletions protocol_versions
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
1_1_2
1_2_0
1_2_1
1_3_1

0 comments on commit f25096b

Please sign in to comment.