Skip to content

Commit daf8402

Browse files
committed
Add network variants to GetPeerInfoResultNetwork
1 parent a3df1c2 commit daf8402

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

json/src/lib.rs

+5-3
Original file line numberDiff line numberDiff line change
@@ -1071,10 +1071,12 @@ pub enum GetPeerInfoResultNetwork {
10711071
Ipv4,
10721072
Ipv6,
10731073
Onion,
1074-
I2p,
1075-
NotPubliclyRoutable,
1076-
// this is undocumented upstream
1074+
#[deprecated]
10771075
Unroutable,
1076+
NotPubliclyRoutable,
1077+
I2p,
1078+
Cjdns,
1079+
Internal,
10781080
}
10791081

10801082
#[derive(Copy, Serialize, Deserialize, Clone, PartialEq, Eq, Debug)]

0 commit comments

Comments
 (0)