Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
api!: AE work
Browse files Browse the repository at this point in the history
BREAKING CHANGE
this commit is to mark the major work of AntiEntropy.
  • Loading branch information
maqi committed May 13, 2021
1 parent 5e65974 commit c4252a7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/routing/core/mod.rs
Expand Up @@ -108,6 +108,8 @@ impl Core {
sender: Option<SocketAddr>,
) -> Result<(Vec<Command>, bool)> {
if !self.is_elder() {
// Adult nodes do need to carry out entropy checking, however the message shall always
// be handled.
return Ok((vec![], true));
}

Expand Down
4 changes: 1 addition & 3 deletions src/routing/mod.rs
Expand Up @@ -532,9 +532,7 @@ async fn handle_message(dispatcher: Arc<Dispatcher>, bytes: Bytes, sender: Socke
msg: _,
dest_info: _,
src_section_pk: _,
} => {
unimplemented!()
}
} => unimplemented!(),
MessageType::Client { msg, dest_info } => {
let end_user = dispatcher
.core
Expand Down

0 comments on commit c4252a7

Please sign in to comment.