forked from TrueCloudLab/neoneo-go
75d7891ca1
Notes for witnesses: * [N sig + M multisig + K contract] combination is possible where N, M, K >=0. * Each verification script should be properly filled in. * Each invocation script should either be empty or contain exactly one signature.
13 lines
379 B
Go
13 lines
379 B
Go
package notary
|
|
|
|
// RequestType represents the type of Notary request.
|
|
type RequestType byte
|
|
|
|
const (
|
|
// Signature represents standard single signature request type.
|
|
Signature RequestType = 0x01
|
|
// MultiSignature represents m out of n multisignature request type.
|
|
MultiSignature RequestType = 0x02
|
|
// Contract represents contract witness type.
|
|
Contract RequestType = 0x03
|
|
)
|