mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-11-16 15:58:14 +00:00
wire: re-export types
This commit is contained in:
parent
afabd39dcd
commit
42e5905c1b
3 changed files with 4 additions and 2 deletions
|
@ -18,6 +18,7 @@
|
|||
use bitflags::bitflags;
|
||||
|
||||
use cuprate_epee_encoding::epee_object;
|
||||
pub use cuprate_types::{BlockCompleteEntry, PrunedTxBlobEntry, TransactionBlobs};
|
||||
|
||||
use crate::NetworkAddress;
|
||||
|
||||
|
|
|
@ -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)]
|
||||
|
|
|
@ -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
|
Loading…
Reference in a new issue