Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHashData ¶
func GetHashData(data SignableData) []byte
func GetHashForSigning ¶
func GetHashForSigning(data SignableData) []byte
func SignBySigner ¶
func SignBySigner(data SignableData, signer Signer) ([]byte, error)
Types ¶
type SignableData ¶
type SignableData interface { interfaces.ICodeContainer GetProgramHashes() ([]common.Uint160, error) SetPrograms([]*program.Program) GetPrograms() []*program.Program SerializeUnsigned(io.Writer) error }
SignableData describe the data need be signed.
Click to show internal directories.
Click to hide internal directories.