Re-exports§
pub use address::KnownAddress;
pub use config::Config;
pub use db::Database;
pub use events::Event;
pub use events::Events;
pub use seed::SyncedAt;
Modules§
- Note on database migrations
Structs§
- Peer public protocol address.
- Node alias.
- Announcement result returned by
Node::announce
. - Options passed to the “connect” node command.
- Advertized node features. Signals what services the node supports.
- Holds multiple fetch results.
- Node controller.
- Node connection penalty. Nodes with a high penalty are deprioritized as peers.
- A seed for some repository, with metadata about its status.
- Represents a set of seeds with associated metadata. Uses an RNG underneath, so every iteration returns a different ordering.
- An established network connection with a peer.
- A success response.
Enums§
- A sync event, emitted by
Node::announce
. - Command name.
- Result of a command, on the node control socket.
- Error returned by
Handle
functions. - A host name covers multiple types which are not necessarily resolved by an OS and may require additional name resolvers (like via SOCKS5 etc). The type doesn’t provide an information about the resolver; for that use
super::ProxiedHost
. - Connection link direction.
- Severity of a peer misbehavior or a connection problem.
- Repository sync status for our own refs.
Constants§
- Default radicle protocol port.
- Default name for control socket file.
- Default timeout when waiting for the node to respond with data.
- Maximum length in bytes of a node alias.
- Filename of last node announcement, when running in debug mode.
- Filename of node database under the node directory.
- Filename of notifications database under the node directory.
- Penalty threshold at which point we avoid connecting to this node.
- Filename of policies database under the node directory.
Traits§
- A trait for different sources which can potentially return an alias.
- A handle to send commands to the node or request information.
Type Aliases§
- Public node & device identifier.
- Milliseconds since epoch.