forked from cosmos/cosmos-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR cosmos#3898: Circuit breaker high level explanation
- Loading branch information
1 parent
8528ac7
commit 2ca86c8
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
\#926 circuit breaker high level explanation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Concepts | ||
|
||
The intention of the circuit breaker is to have a contingency plan for a | ||
running network which maintains network liveness. This can be achieved through | ||
selectively "pausing" functionality of specific modules on a running network. | ||
The circuit breaker is intended to be enabled through either: | ||
|
||
- governance | ||
- for emergencies a special subset of accounts selected by the state machine | ||
- a transaction which proves the expected behaviour is broken | ||
|
||
## Pause state | ||
|
||
The basic pause state of any module simply disables all message routes to | ||
that module. Beyond that, it may be a appropriate for different modules to | ||
process begin-block/end-block in an altered "safe" way. | ||
|