Documentation ¶
Index ¶
- func Abs(x uint64, y uint64) int64
- func AccountFilter(blacklist []account.Account, accounts []account.Account) []account.Account
- func GetAccountById(peers []account.Account, expect uint64) account.Account
- func GetAccountWithMinId(accounts []account.Account) account.Account
- func SendEvent(receiver Receiver, event Event)
- func SignPayload(account account.Account, digest types.Hash) ([]byte, error)
- func SignatureVerify(account account.Account, sign []byte, digest types.Hash) bool
- func VerifyPayload(payload *types.Block, enableSignVerify bool) (types.Receipts, error)
- func VerifyPayloadUseExistedRepository(bc *repository.Repository, payload *types.Block, enableSignVerify bool) (types.Receipts, error)
- type Event
- type Receiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountFilter ¶
func SignatureVerify ¶
func VerifyPayload ¶
func VerifyPayloadUseExistedRepository ¶ added in v1.1.0
func VerifyPayloadUseExistedRepository(bc *repository.Repository, payload *types.Block, enableSignVerify bool) (types.Receipts, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.