forked from nknorg/nkn
-
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.
Add pin sigchain protocol to reduce relay ram usage (stage 1/2)
When most nodes have updated, sigChainElemCacheExpiration will be reduced in the next stage to reduce ram usage. Signed-off-by: Yilun <[email protected]>
- Loading branch information
1 parent
09c8c1b
commit e13663a
Showing
7 changed files
with
711 additions
and
189 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
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ const ( | |
NewBlockProduced | ||
SendInboundMessageToClient | ||
BacktrackSigChain | ||
PinSigChain | ||
) |
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
Oops, something went wrong.