-
Notifications
You must be signed in to change notification settings - Fork 0
pchain_network v0.5 #17
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
Conversation
…nd heartbeat interval
WIP: Refactor pchain network engine
…ssage deserialization
… Defined Error type for Engine
…mailbox topics from tests
Tests/refactor
Summary of review meeting (Oct 18, 2023)
|
…ons to conversions
Merged changes raised during meeting
| Multiaddr, | ||
| }; | ||
| use pchain_types::cryptography::PublicAddress; | ||
| use pchain_types::cryptography::{PublicAddress, self}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just import Keypair here instead of doing self here and qualify it as crytography::Keypair
src/lib.rs
Outdated
| //! use crate::Config; | ||
| //! use crate::message_gate::MessageGateChain; | ||
| //! | ||
| //! use crate::peer::Peer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use crate::Peer;
| pub(crate) mod constants; | ||
|
|
||
| pub(crate) mod conversions; | ||
| pub mod peer; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add pub use peer::Peer
| //! keypair: pchain_types::cryptography::Keypair, | ||
| //! topics_to_subscribe: vec![Topic::HotStuffRsBroadcast], | ||
| //! listening_port: 25519, | ||
| //! boot_nodes: vec![], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to show format of boot_nodes here too
… true in gossipsub
The version in refactor branch is a refactor based on the comments and suggested structure that can be found it in here.