-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d5c970a
commit ace0637
Showing
4 changed files
with
4 additions
and
30 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
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 |
---|---|---|
@@ -1,23 +1,3 @@ | ||
package types | ||
|
||
// This file is in place to declare the package for dynamically generated protobufs | ||
|
||
// TODO_IN_THIS_COMMIT: remove... | ||
// | ||
// PendingClaimsResult encapsulates the result of settling pending claims. It is | ||
// intended to be used to represent settled and expired results as unique instances. | ||
type PendingClaimsResult struct { | ||
NumClaims uint64 | ||
NumComputeUnits uint64 | ||
NumRelays uint64 | ||
RelaysPerServiceMap map[string]uint64 | ||
} | ||
|
||
// TODO_IN_THIS_COMMIT: remove... | ||
// | ||
// NewClaimSettlementResult creates a new PendingClaimsResult. | ||
func NewClaimSettlementResult() PendingClaimsResult { | ||
return PendingClaimsResult{ | ||
RelaysPerServiceMap: make(map[string]uint64), | ||
} | ||
} |