added node/src/git.rs
@@ -0,0 +1,24 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified node/src/lib.rs
@@ -6,6 +6,7 @@ mod address_manager;
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified node/src/protocol.rs
@@ -15,6 +15,7 @@ use crate::address_manager::AddressManager;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -38,6 +39,7 @@ pub const MAX_CONNECTION_ATTEMPTS: usize = 3;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -351,7 +353,7 @@ impl<T: ReadStorage + WriteStorage, S: address_book::Store> Protocol<S, T> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -416,6 +418,9 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified node/src/storage.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,8 +100,7 @@ pub trait ReadStorage {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -121,10 +120,10 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -159,8 +158,8 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified node/src/test/peer.rs
@@ -57,7 +57,7 @@ impl<S> DerefMut for Peer<S> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified node/src/test/storage.rs
@@ -1,5 +1,3 @@
| - | |
| - | |
|
|
|
|
|
@@ -40,7 +38,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|