Crate cuprate_p2p_core

source ·
Expand description

§Monero P2P

This crate is general purpose P2P networking library for working with Monero. This is a low level crate, which means it may seem verbose for a lot of use cases, if you want a crate that handles more of the P2P logic have a look at cuprate-p2p.

§Network Zones

This crate abstracts over network zones, Tor/I2p/clearnet with the NetworkZone trait. Currently only clearnet is implemented: ClearNet.

§Usage

TODO

Re-exports§

Modules§

  • Connection Handles.
  • This module defines InternalRequests and InternalResponses. Cuprate’s P2P works by translating network messages into an internal request/ response, this is easy for levin “requests” and “responses” (admin messages) but takes a bit more work with “notifications” (protocol messages).

Enums§

Traits§