-
Notifications
You must be signed in to change notification settings - Fork 81
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
b047334
commit 3bf557b
Showing
18 changed files
with
1,108 additions
and
102 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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package blockchainer | ||
|
||
import ( | ||
"math/big" | ||
|
||
"github.com/nspcc-dev/neo-go/pkg/util" | ||
) | ||
|
||
// Policer is an interface that abstracts the implementation of policy methods. | ||
type Policer interface { | ||
GetDepositBalance(acc util.Uint160) *big.Int | ||
GetDepositExpiration(acc util.Uint160) uint32 | ||
GetMaxBlockSize() uint32 | ||
GetMaxBlockSystemFee() int64 | ||
GetMaxNotValidBeforeDelta() int64 | ||
GetMaxVerificationGas() int64 | ||
} |
Oops, something went wrong.