Add new P2P protocol NewFile

This commit is contained in:
boqiu 2024-10-23 16:39:59 +08:00 committed by Peter Zhang
parent 9b68a8b7d7
commit e15143e0a4

View File

@ -123,6 +123,14 @@ pub struct NewFile {
pub timestamp: u32,
}
#[derive(Debug, Clone, PartialEq, Eq, Encode, Decode)]
pub struct NewFile {
pub tx_id: TxID,
pub num_shard: usize,
pub shard_id: usize,
pub timestamp: u32,
}
#[derive(Debug, Clone, PartialEq, Eq, Encode, Decode)]
pub struct FindFile {
pub tx_id: TxID,