// Branch heads the snapshot was made from, can be useful when shared outside and the commit_header_key is set to None. otherwise it is redundant to ACKS
// Branch heads the snapshot was made from, can be useful when shared outside and the commit_header_key is set to None. otherwise it is redundant to ACKS
pubheads: Vec<ObjectId>,
pubheads: Vec<ObjectId>,
/// Snapshot data structure
/// Reference to Object containing Snapshot data structure
#[serde(with = "serde_bytes")]
pubcontent: ObjectRef,
pubcontent: Vec<u8>,
}
}
/// Snapshot of a Branch
/// Snapshot of a Branch
@ -1957,9 +1956,8 @@ pub struct CompactV0 {
#[serde(with = "serde_bytes")]
#[serde(with = "serde_bytes")]
puborigin: Vec<u8>,
puborigin: Vec<u8>,
/// Snapshot data structure
/// Reference to Object containing Snapshot data structure
#[serde(with = "serde_bytes")]
pubcontent: ObjectRef,
pubcontent: Vec<u8>,
}
}
/// Snapshot of a Branch
/// Snapshot of a Branch
@ -1989,6 +1987,11 @@ impl AsyncSignature {
// check that the signature object referenced here, is of type threshold_sig Partial
// check that the signature object referenced here, is of type threshold_sig Partial
unimplemented!();
unimplemented!();
}
}
pubfnreference(&self)-> &ObjectRef{
matchself{
Self::V0(v0)=>v0,
}
}
}
}
/// Sync Threshold Signature of one or a chain of commits . V0
/// Sync Threshold Signature of one or a chain of commits . V0
@ -2013,6 +2016,11 @@ impl SyncSignature {
// check that the signature object referenced here, is of type threshold_sig Total or Owner
// check that the signature object referenced here, is of type threshold_sig Total or Owner