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

Method Sign

types/provideservice.go:64–66  ·  view source on GitHub ↗

Sign implements interfaces/Transaction.Sign.

(signer *asymmetric.PrivateKey)

Source from the content-addressed store, hash-verified

62
63// Sign implements interfaces/Transaction.Sign.
64func (ps *ProvideService) Sign(signer *asymmetric.PrivateKey) (err error) {
65 return ps.DefaultHashSignVerifierImpl.Sign(&ps.ProvideServiceHeader, signer)
66}
67
68// Verify implements interfaces/Transaction.Verify.
69func (ps *ProvideService) Verify() error {

Callers 2

TestMetaStateFunction · 0.95
sendProvideServiceFunction · 0.95

Calls 1

SignMethod · 0.65

Tested by 1

TestMetaStateFunction · 0.76