Documentation
¶
Index ¶
Constants ¶
View Source
const ( STANDARD = 0xAC MULTISIG = 0xAE PUSH1 = 0x51 // signature length(0x40) || 64 bytes signature SignatureScriptLength = 65 )
Variables ¶
This section is empty.
Functions ¶
func GetDataContent ¶
func GetDataContent(data SignableData) []byte
func ToProgramHash ¶
Types ¶
type SignableData ¶
type SignableData interface {
//Get the the SignableData's program hashes
GetProgramHashes() ([]Uint168, error)
SetPrograms([]*program.Program)
GetPrograms() []*program.Program
SerializeUnsigned(io.Writer) error
GetDataContent() []byte
}
SignableData describe the data need be signed.
Click to show internal directories.
Click to hide internal directories.