Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
432f22c2
Unverified
Commit
432f22c2
authored
Oct 25, 2023
by
Maurelian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: Add mermaid graph
parent
e2eb747a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
safe-liveness-checking.md
specs/safe-liveness-checking.md
+19
-0
No files found.
specs/safe-liveness-checking.md
View file @
432f22c2
...
@@ -49,6 +49,25 @@ A `LivenessModule` is also created which does the following:
...
@@ -49,6 +49,25 @@ A `LivenessModule` is also created which does the following:
1.
When a member is removed, the signing parameters are modified such that
`M/N`
is the lowest ratio
1.
When a member is removed, the signing parameters are modified such that
`M/N`
is the lowest ratio
which remains greater than or equal to 75%. Using integer math, this can be expressed as
`M = (N * 75 + 99) / 100`
.
which remains greater than or equal to 75%. Using integer math, this can be expressed as
`M = (N * 75 + 99) / 100`
.
### Owner removal call flow
The following diagram illustrates the flow for removing a single owner.
```
mermaid
sequenceDiagram
participant User
participant LivenessModule
participant LivenessGuard
participant Safe
User->>LivenessModule: removeOwner(owner)
LivenessModule->>LivenessGuard: lastLive(owner)
LivenessModule->>Safe: getOwners()
LivenessModule->>LivenessModule: get75PercentThreshold(numOwnersAfter)
LivenessModule->>LivenessModule: _getPrevOwner(owner, owners)
LivenessModule->>LivenessModule: _removeOwner(prevOwner, owner, thresholdAfter)
LivenessModule->>LivenessModule: _verifyFinalState()
```
### Shutdown
### Shutdown
In the unlikely event that the signer set (
`N`
) is reduced below 8, then (and only then) is a
In the unlikely event that the signer set (
`N`
) is reduced below 8, then (and only then) is a
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment