node: Add support for `.onion` addresses in wire
modified radicle-node/src/wire.rs
@@ -15,6 +15,7 @@ use std::string::FromUtf8Error;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -56,6 +57,8 @@ pub enum Error {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -237,6 +240,12 @@ impl Encode for Refs {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -509,6 +518,15 @@ impl Decode for node::Features {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/wire/message.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -386,8 +386,12 @@ impl wire::Encode for Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -418,7 +422,9 @@ impl wire::Decode for Address {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/test/arbitrary.rs
@@ -6,6 +6,8 @@ use std::{iter, net};
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -260,7 +262,7 @@ impl Arbitrary for RepoId {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -285,7 +287,13 @@ impl Arbitrary for Address {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|