Introduce transcoder parameter to Wire & Transport
modified radicle-node/src/client.rs
@@ -10,6 +10,7 @@ use crate::clock::RefClock;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -130,9 +131,11 @@ impl<R: Reactor> Client<R> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/transport.rs
@@ -11,6 +11,7 @@ use crate::crypto;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -19,13 +20,13 @@ struct Peer {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -33,12 +34,13 @@ impl<R, S, T, G> Transport<R, S, T, G> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
@@ -86,7 +88,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -94,15 +96,15 @@ impl<R, S, T, G> Iterator for Transport<R, S, T, G> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire.rs
@@ -1,4 +1,5 @@
|
|
| + | |
|
|
|
|
|
@@ -25,6 +26,7 @@ use crate::service::{filter, routing};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -423,33 +425,32 @@ impl Decode for node::Features {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -459,7 +460,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -486,7 +487,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -511,15 +512,15 @@ impl<R, S, T, G> Iterator for Wire<R, S, T, G> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
added radicle-node/src/wire/transcoder.rs
@@ -0,0 +1,6 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |