MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / MarshalHasher

Interface MarshalHasher

crypto/verifier/common.go:29–31  ·  view source on GitHub ↗

go:generate hsp MarshalHasher is the interface implemented by an object that can be stably marshalling hashed.

Source from the content-addressed store, hash-verified

27
28// MarshalHasher is the interface implemented by an object that can be stably marshalling hashed.
29type MarshalHasher interface {
30 MarshalHash() ([]byte, error)
31}
32
33// HashSignVerifier is the interface implemented by an object that contains a hash value of an
34// MarshalHasher, can be signed by a private key and verified later.

Callers 6

PubKeyHashFunction · 0.65
SetHashMethod · 0.65
VerifyHashMethod · 0.65
MarshalHashMethod · 0.65

Implementers 15

TestTransactionEncodeblockproducer/interfaces/transaction_w
TransactionTypeMixinblockproducer/interfaces/mixins.go
CreateDatabaseRequesttypes/db_service_types.go
CreateDatabaseRequestHeadertypes/db_service_types.go
CreateDatabaseResponsetypes/db_service_types.go
CreateDatabaseResponseHeadertypes/db_service_types.go
DropDatabaseRequesttypes/db_service_types.go
DropDatabaseRequestHeadertypes/db_service_types.go
DropDatabaseResponsetypes/db_service_types.go
GetDatabaseRequesttypes/db_service_types.go
GetDatabaseRequestHeadertypes/db_service_types.go
GetDatabaseResponsetypes/db_service_types.go

Calls

no outgoing calls

Tested by

no test coverage detected