Make a new protocol module with message submodule.
This allows us to organize all of the Bitcoin-Zcash specific parts of the protocol into a subtree.
This commit is contained in:
parent
c8a3d47b56
commit
0b1acc50c3
|
@ -7,7 +7,7 @@ extern crate failure;
|
|||
#[macro_use]
|
||||
extern crate tracing;
|
||||
|
||||
pub mod message;
|
||||
pub mod protocol;
|
||||
pub mod types;
|
||||
|
||||
// XXX make this private once connect is removed
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
//! Zcash network protocol handling.
|
||||
|
||||
pub mod message;
|
||||
pub mod codec;
|
||||
|
|
@ -46,7 +46,7 @@ impl ConnectCmd {
|
|||
use tokio::net::TcpStream;
|
||||
|
||||
use zebra_chain::types::BlockHeight;
|
||||
use zebra_network::{constants, message::*, types::*};
|
||||
use zebra_network::{constants, protocol::message::*, types::*};
|
||||
|
||||
info!("connecting");
|
||||
|
||||
|
|
Loading…
Reference in New Issue