modified radicle-node/src/service.rs
@@ -4,8 +4,9 @@ pub mod filter;
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -236,7 +237,7 @@ impl<'r, T: WriteStorage<'r>, S: address_book::Store, G: crypto::Signer> Service
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -651,6 +652,13 @@ pub struct Lookup {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -660,6 +668,8 @@ pub struct Context<S, T, G> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -700,6 +710,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -741,12 +752,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/message.rs
@@ -156,13 +156,14 @@ impl InventoryAnnouncement {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -205,13 +206,12 @@ pub enum Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified radicle-node/src/service/peer.rs
@@ -29,7 +29,7 @@ pub enum SessionError {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -47,8 +47,6 @@ pub struct Session {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -64,7 +62,6 @@ impl Session {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -110,17 +107,11 @@ impl Session {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -154,18 +145,17 @@ impl Session {
|
|
|
|
|
|
| - | |
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -188,6 +178,8 @@ impl Session {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -222,6 +214,8 @@ impl Session {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -150,12 +150,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -182,12 +177,7 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/tests.rs
@@ -20,8 +20,8 @@ use crate::test::signer::MockSigner;
|
|
|
|
|
|
| + | |
|
|
| - | |
|
|
|
|
|
@@ -42,7 +42,7 @@ fn test_outbound_connection() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -62,7 +62,7 @@ fn test_inbound_connection() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,27 +104,6 @@ fn test_wrong_peer_version() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -211,7 +190,7 @@ fn test_inventory_relay_bad_timestamp() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -341,7 +320,7 @@ fn test_persistent_peer_reconnect() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire/message.rs
@@ -132,13 +132,11 @@ impl wire::Encode for Message {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -191,14 +189,12 @@ impl wire::Decode for Message {
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified radicle/src/crypto.rs
@@ -135,6 +135,18 @@ impl std::hash::Hash for PublicKey {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|