-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement token based F3 participation lease
Implemented enhanced token-based participation system for F3 consensus in `F3Participate`. This update introduces a new design where participation tokens grant a temporary lease, allowing storage providers to sign as part of the F3 consensus mechanism. This design ensures that tokens are checked for validity and issuer alignment, handling errors robustly. If there's an issuer mismatch, the system advises miners to retry with the existing token. If the token is invalid or expired, miners are directed to obtain a new token via `F3GetParticipationToken`. Fixes filecoin-project/go-f3#599
- Loading branch information
Showing
22 changed files
with
1,634 additions
and
854 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
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.