node: Support DNS address types at the wire level
modified radicle-node/src/wire/message.rs
@@ -85,7 +85,7 @@ impl netservices::Frame for Message {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -100,7 +100,7 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +114,7 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -301,6 +301,10 @@ impl wire::Encode for Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -327,8 +331,10 @@ impl wire::Decode for Address {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/address.rs
@@ -16,7 +16,7 @@ use crate::node::Address;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -31,7 +31,7 @@ impl From<&Address> for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,7 +45,7 @@ impl TryFrom<u8> for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/address/store.rs
@@ -342,7 +342,7 @@ impl TryFrom<&sql::Value> for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -356,7 +356,7 @@ impl sql::BindableWithIndex for AddressType {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/test/arbitrary.rs
@@ -15,6 +15,7 @@ use crate::identity::{
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -214,16 +215,38 @@ impl Arbitrary for Id {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|