Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageTypeUnknown = MessageType(math.MaxUint8) MessageTypeBLS = MessageType(iota) MessageTypeSecp256k1 = MessageType(0x2) )
Variables ¶
This section is empty.
Functions ¶
func NewCidParam ¶
func NewCidParam(cid interface{}) []interface{}
Types ¶
type MessageType ¶
type MessageType byte
func (MessageType) Name ¶
func (t MessageType) Name() (string, error)
type SignedMessage ¶
type SignedMessage struct { Message ltypes.Message Signature types.Signature Type MessageType }
func (*SignedMessage) MarshalCBOR ¶
func (t *SignedMessage) MarshalCBOR(w io.Writer) error
func (*SignedMessage) UnmarshalCBOR ¶
func (t *SignedMessage) UnmarshalCBOR(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.