pub struct BranchCapRefreshV0 {
pub refresh_ref: ObjectRef,
}
Expand description
BranchCapRefresh renew the capabilities of one specific transactional branch
ACKS: current HEADS in the branch at the moment of refresh. DEPS to the previous Branch commit that will be superseded. the chain is, on the transactional branch: BranchCapRefresh -> UpdateBranch if this is an isolated branch refresh (not part of a rootcaprefresh), then the root branch chain is : AddBranch (ACKS to HEADS, quorumtype:TotalOrder ) always eventually followed at the end of each chain by a SyncSignature (each branch its own) The key used in EventV0 to encrypt the key for that SyncSignature commit is the refresh_secret (RefreshSecretV0.0), but not on the root branch if it is an isolated branch refresh
On the new topic, the first commit (singleton) is a BranchCapRefreshed that contains internal references to the old branch (but no DEPS or ACKS).
Fields§
§refresh_ref: ObjectRef
ObjectRef to the RefreshCap object (shared with a root branch and other transac branches, or specially crafted for this branch if it is an isolated branch refresh)
Trait Implementations§
Source§impl Clone for BranchCapRefreshV0
impl Clone for BranchCapRefreshV0
Source§fn clone(&self) -> BranchCapRefreshV0
fn clone(&self) -> BranchCapRefreshV0
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more