diff --git a/net/wire/src/p2p/common.rs b/net/wire/src/p2p/common.rs index 56caa90..d585d07 100644 --- a/net/wire/src/p2p/common.rs +++ b/net/wire/src/p2p/common.rs @@ -18,6 +18,7 @@ use bitflags::bitflags; use cuprate_epee_encoding::epee_object; +pub use cuprate_types::{BlockCompleteEntry, PrunedTxBlobEntry, TransactionBlobs}; use crate::NetworkAddress; diff --git a/net/wire/src/p2p/protocol.rs b/net/wire/src/p2p/protocol.rs index 2588e60..73694d5 100644 --- a/net/wire/src/p2p/protocol.rs +++ b/net/wire/src/p2p/protocol.rs @@ -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)] diff --git a/types/README.md b/types/README.md index 168b003..4023e9f 100644 --- a/types/README.md +++ b/types/README.md @@ -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 \ No newline at end of file