cardano_sdk/protocol/
mod.rs

1//! Cardano Protocol types and their associated serialization
2
3mod basic;
4mod blockfetch;
5mod chainsync;
6mod handshake;
7mod txsubmit;
8
9pub use basic::*;
10pub use blockfetch::*;
11pub use chainsync::*;
12pub use handshake::*;
13pub use txsubmit::*;
14
15pub trait Protocol: cbored::Encode + cbored::Decode {
16    const NUMBER: u16;
17}