Documentation ¶
Index ¶
Constants ¶
View Source
const MaxSignDataSize = 1000
View Source
const RegisterIdentification = 0x09
View Source
const RegisterIdentificationVersion = 0x00
Variables ¶
This section is empty.
Functions ¶
func IsRegisterIdentificationTx ¶
func IsRegisterIdentificationTx(tx *types.Transaction) bool
Types ¶
type PayloadRegisterIdentification ¶
type PayloadRegisterIdentification struct { ID string Sign []byte Contents []RegisterIdentificationContent }
func (*PayloadRegisterIdentification) Data ¶
func (p *PayloadRegisterIdentification) Data(version byte) []byte
func (*PayloadRegisterIdentification) Deserialize ¶
func (p *PayloadRegisterIdentification) Deserialize(r io.Reader, version byte) error
func (*PayloadRegisterIdentification) GetData ¶
func (p *PayloadRegisterIdentification) GetData() []byte
type RegisterIdentificationContent ¶
type RegisterIdentificationContent struct { Path string Values []RegisterIdentificationValue }
func (*RegisterIdentificationContent) Deserialize ¶
func (a *RegisterIdentificationContent) Deserialize(r io.Reader, version byte) error
type RegisterIdentificationValue ¶
func (*RegisterIdentificationValue) Deserialize ¶
func (a *RegisterIdentificationValue) Deserialize(r io.Reader, version byte) error
Click to show internal directories.
Click to hide internal directories.