modified radicle-node/src/service.rs
@@ -872,6 +872,12 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -925,6 +931,29 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1286,6 +1315,8 @@ where
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -1570,6 +1601,7 @@ where
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -1648,6 +1680,8 @@ where
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/gossip/store.rs
@@ -124,7 +124,7 @@ impl GossipStore {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/service/message.rs
@@ -271,7 +271,7 @@ impl From<RefsAnnouncement> for AnnouncementMessage {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/gossip.rs
@@ -1,9 +1,11 @@
|
|
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -24,13 +26,25 @@ pub fn messages(count: usize, now: LocalTime, delta: LocalDuration) -> Vec<Messa
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/test/peer.rs
@@ -31,6 +31,7 @@ use crate::storage::Inventory;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -324,6 +325,8 @@ where
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -359,6 +362,8 @@ where
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -378,7 +383,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -393,6 +398,55 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/tests.rs
@@ -360,6 +360,9 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -367,7 +370,7 @@ fn test_inventory_pruning() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -437,13 +440,16 @@ fn test_announcement_rebroadcast() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -454,8 +460,12 @@ fn test_announcement_rebroadcast() {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -468,6 +478,7 @@ fn test_announcement_rebroadcast_duplicates() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -489,6 +500,7 @@ fn test_announcement_rebroadcast_duplicates() {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -519,7 +531,7 @@ fn test_announcement_rebroadcast_duplicates() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -557,8 +569,11 @@ fn test_announcement_rebroadcast_timestamp_filtered() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -849,7 +864,7 @@ fn test_inventory_relay() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -858,7 +873,7 @@ fn test_inventory_relay() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -874,7 +889,7 @@ fn test_inventory_relay() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -890,7 +905,7 @@ fn test_inventory_relay() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -912,7 +927,7 @@ fn test_inventory_relay() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1051,10 +1066,12 @@ fn test_maintain_connections() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1063,7 +1080,7 @@ fn test_maintain_connections() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1073,15 +1090,41 @@ fn test_maintain_connections() {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
|
|
|
|
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -1089,8 +1132,11 @@ fn test_maintain_connections_failed_attempt() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1100,7 +1146,7 @@ fn test_maintain_connections_failed_attempt() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node/address/schema.sql
@@ -11,7 +11,9 @@ create table if not exists "nodes" (
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -30,6 +32,8 @@ create table if not exists "addresses" (
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/address/store.rs
@@ -115,7 +115,7 @@ impl Store for Book {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,12 +130,14 @@ impl Store for Book {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -267,7 +269,7 @@ impl Store for Book {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -280,6 +282,7 @@ impl Store for Book {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -288,6 +291,7 @@ impl Store for Book {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -329,6 +333,23 @@ impl Store for Book {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -361,7 +382,7 @@ pub trait Store {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -388,6 +409,8 @@ pub trait Store {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -519,6 +542,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -554,6 +578,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -581,6 +606,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -641,6 +667,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -686,6 +713,7 @@ mod test {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle/src/node/address/types.rs
@@ -140,6 +140,8 @@ pub struct KnownAddress {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -150,6 +152,7 @@ impl KnownAddress {
|
|
|
|
|
|
| + | |
|
|
|
|
|