private routing
This commit is contained in:
@@ -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)?
|
||||
{
|
||||
|
@@ -366,11 +366,6 @@ impl BlockId {
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, PartialOrd, Ord, Eq, Hash, Default, Serialize, Deserialize)]
|
||||
pub struct SenderInfo {
|
||||
pub socket_address: Option<SocketAddress>,
|
||||
}
|
||||
|
||||
// Keep member order appropriate for sorting < preference
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Serialize, Deserialize, Hash)]
|
||||
pub enum DialInfoClass {
|
||||
@@ -420,7 +415,7 @@ pub enum Stability {
|
||||
Reliable,
|
||||
}
|
||||
|
||||
/// The choice of safety route including in compiled routes
|
||||
/// The choice of safety route to include in compiled routes
|
||||
#[derive(Copy, Clone, Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
|
||||
pub enum SafetySelection {
|
||||
/// Don't use a safety route, only specify the sequencing preference
|
||||
|
Reference in New Issue
Block a user