private routing

This commit is contained in:
John Smith
2022-11-02 15:36:01 -04:00
parent ec58574a5e
commit 92b22d5af5
18 changed files with 426 additions and 245 deletions

View File

@@ -3,6 +3,7 @@
use super::*;
use routing_table::*;
use rpc_processor::*;
fn get_bucket_entry_state(text: &str) -> Option<BucketEntryState> {
if text == "dead" {
@@ -397,7 +398,7 @@ impl VeilidAPI {
// Dump routing table entry
let out = match rpc
.rpc_call_status(nr)
.rpc_call_status(Destination::direct(nr))
.await
.map_err(VeilidAPIError::internal)?
{