Documentation ¶
Index ¶
- type CoinProof
- func (cp *CoinProof) Decode(reader io.Reader) (n int, err error)
- func (cp *CoinProof) Deserialize(m *messages.Message, unmarFunc types.ConsensusIndexFuncs) (int, error)
- func (cp *CoinProof) Encode(writer io.Writer) (n int, err error)
- func (cp *CoinProof) GetBytes(m *messages.Message) ([]byte, error)
- func (cp *CoinProof) GetID() messages.HeaderID
- func (cp *CoinProof) GetMsgID() messages.MsgID
- func (cp *CoinProof) GetShare() kyber.Point
- func (cp *CoinProof) New() sig.Sig
- func (CoinProof) PeekHeaders(*messages.Message, types.ConsensusIndexFuncs) (index types.ConsensusIndex, err error)
- func (cp *CoinProof) Serialize(m *messages.Message) (int, error)
- func (cp *CoinProof) Validate(localKey, sharedKey kyber.Point, msg []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoinProof ¶
type CoinProof struct {
// contains filtered or unexported fields
}
func CreateCoinProof ¶
func EmptyCoinProof ¶
func (*CoinProof) Deserialize ¶
func (cp *CoinProof) Deserialize(m *messages.Message, unmarFunc types.ConsensusIndexFuncs) (int, error)
Deserialize deserialzes a header into the object, returning the number of bytes read
func (CoinProof) PeekHeaders ¶
func (CoinProof) PeekHeaders(*messages.Message, types.ConsensusIndexFuncs) (index types.ConsensusIndex, err error)
PeekHeader returns nil.
Click to show internal directories.
Click to hide internal directories.