wire: re-export types
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled

This commit is contained in:
hinto.janai 2024-07-16 17:30:44 -04:00
parent afabd39dcd
commit 42e5905c1b
No known key found for this signature in database
GPG key ID: D47CE05FA175A499
3 changed files with 4 additions and 2 deletions

View file

@ -18,6 +18,7 @@
use bitflags::bitflags;
use cuprate_epee_encoding::epee_object;
pub use cuprate_types::{BlockCompleteEntry, PrunedTxBlobEntry, TransactionBlobs};
use crate::NetworkAddress;

View file

@ -22,7 +22,8 @@ use bytes::Bytes;
use cuprate_epee_encoding::{container_as_blob::ContainerAsBlob, epee_object};
use cuprate_fixed_bytes::{ByteArray, ByteArrayVec};
use cuprate_types::BlockCompleteEntry;
use crate::p2p::common::BlockCompleteEntry;
/// A block that SHOULD have transactions
#[derive(Debug, Clone, PartialEq, Eq)]

View file

@ -6,6 +6,6 @@ This crate is a kitchen-sink for data types that are shared across Cuprate.
# Features flags
| Feature flag | Does what |
|--------------|-----------|
| `blockchain` | Enables the [`blockchain`] module, containing the blockchain database request/response types
| `blockchain` | Enables the `blockchain` module, containing the blockchain database request/response types
| `serde` | Enables `serde` on types where applicable
| `epee` | Enables `cuprate-epee-encoding` on types where applicable