Expand description
§Rust Levin
A crate for working with the Levin protocol in Rust.
The Levin protocol is a network protocol used in the Monero cryptocurrency. It is used for peer-to-peer communication between nodes. This crate provides a Rust implementation of the Levin header serialization and allows developers to define their own bucket bodies, for a complete monero protocol crate see: monero-wire.
§License
This project is licensed under the MIT License.
Re-exports§
pub use header::BucketHead;
pub use message::LevinMessage;
pub use codec::*;
Modules§
- A tokio-codec for levin buckets
- This module provides a struct
BucketHead
for the header of a levin protocol message. - Levin Messages
Structs§
- A levin Bucket
- Levin protocol settings, allows setting custom parameters.
Enums§
- Possible Errors when working with levin buckets
- An enum representing if the message is a request, response or notification.
Traits§
- A levin body
- The levin commands.