// 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>,
/// Snapshot data structure
#[serde(with = "serde_bytes")]
pubcontent: Vec<u8>,
/// Reference to Object containing Snapshot data structure
pubcontent: ObjectRef,
}
/// Snapshot of a Branch
@ -1957,9 +1956,8 @@ pub struct CompactV0 {
#[serde(with = "serde_bytes")]
puborigin: Vec<u8>,
/// Snapshot data structure
#[serde(with = "serde_bytes")]
pubcontent: Vec<u8>,
/// Reference to Object containing Snapshot data structure
pubcontent: ObjectRef,
}
/// Snapshot of a Branch
@ -1989,6 +1987,11 @@ impl AsyncSignature {
// check that the signature object referenced here, is of type threshold_sig Partial
unimplemented!();
}
pubfnreference(&self)-> &ObjectRef{
matchself{
Self::V0(v0)=>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