mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
net: remove public visibility from outbound_session::Slot, and correct broken docstring
This commit is contained in:
@@ -141,7 +141,7 @@ impl Session for OutboundSession {
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Slot {
|
||||
struct Slot {
|
||||
slot: u32,
|
||||
process: StoppableTaskPtr,
|
||||
wakeup_self: CondVar,
|
||||
@@ -184,11 +184,11 @@ impl Slot {
|
||||
/// anchor_count, select from the anchorlist. Up to white_count,
|
||||
/// select from the whitelist. For all other slots, select from
|
||||
/// the greylist.
|
||||
|
||||
///
|
||||
/// If we didn't find an address with this selection logic, downgrade
|
||||
/// our preferences. Up to anchor_count, select from the whitelist,
|
||||
/// up until white_count, select from the greylist.
|
||||
|
||||
///
|
||||
/// If we still didn't find an address, select from the greylist. In
|
||||
/// all other cases, return an empty vector. This will trigger
|
||||
/// fetch_addrs() to return None and initiate peer discovery.
|
||||
|
||||
Reference in New Issue
Block a user