-
Notifications
You must be signed in to change notification settings - Fork 707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes in peer and handler and delete cache of sc at start #3915
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AurelienFT
changed the title
Errors in fallback function doesn't panic
Fixes in peer and handler and delete cache of sc at start
May 6, 2023
damip
reviewed
May 6, 2023
damip
reviewed
May 6, 2023
damip
reviewed
May 6, 2023
damip
reviewed
May 6, 2023
Closed
damip
reviewed
May 8, 2023
damip
reviewed
May 8, 2023
damip
reviewed
May 8, 2023
damip
reviewed
May 8, 2023
damip
approved these changes
May 8, 2023
bors merge |
Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
3 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
π€ Generated by Copilot at 6910564
Summary
π οΈ,π,π,
This pull request introduces new features and improvements for the protocol layer of the Massa project, such as peer categories, connection management, version compatibility, and bootstrap file format. It also updates some constants, dependencies, and configuration files to prepare for testing and deployment. It affects the
massa-node
,massa-protocol-worker
,massa-protocol-exports
, andmassa-models
crates, as well as some GitHub workflow and base config files.Walkthrough
TEST.22.1
and the genesis end and endorsement timestamps in the constants file (link, link, link)Clone
trait toVersion
andVersionParseError
structs and modify theis_compatible
method ofVersion
to require a minimum minor version of 1 (link, link, link)max_in_connections
andmax_out_connections
options withtry_connection_timer
,timeout_connection
, andpeers_categories
options in the config file and the protocol configuration structs (link, link, link, link, link, link, link, link)peernet
crate to a newer revision in themassa-node
,massa-protocol-exports
, andmassa-protocol-worker
crates (link, link, link)network
field to theSettings
struct to store the network-related settings, such as theroutable_ip
option (link, link)hd_cache_path
directory if thekeep_ledger
orrestart_from_snapshot_at_period
arguments are false in the main file (link)VersionSerializer
andVersionDeserializer
structs in the peer handler and tester modules (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)target_out_connections
,default_target_out_connections
, andpeers_categories
fields (link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link, link)tested_addresses
field to thePeerDB
struct to store the last tested time for each address, and use a cooldown mechanism to avoid testing the same address too often, in the peer handler and tester modules (link, link, link)get_rand_peers_to_send
method of thePeerDB
struct to suggest adding the local peer to the vector (link)changes.rs
file to use the Rust doc comment syntax (link)send_list_peers
function of thePeerManagementHandler
struct to avoid blocking the main thread, and add error handling for the serialization and sending operations (link)