Documentation ¶
Index ¶
Constants ¶
View Source
const ProtocolID = "/fil/hello/1.0.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HelloMessage ¶
type HelloMessage struct { HeaviestTipSet []cid.Cid HeaviestTipSetHeight abi.ChainEpoch HeaviestTipSetWeight big.Int GenesisHash cid.Cid }
func (*HelloMessage) MarshalCBOR ¶
func (t *HelloMessage) MarshalCBOR(w io.Writer) error
func (*HelloMessage) UnmarshalCBOR ¶
func (t *HelloMessage) UnmarshalCBOR(r io.Reader) (err error)
type LatencyMessage ¶
func (*LatencyMessage) MarshalCBOR ¶
func (t *LatencyMessage) MarshalCBOR(w io.Writer) error
func (*LatencyMessage) UnmarshalCBOR ¶
func (t *LatencyMessage) UnmarshalCBOR(r io.Reader) (err error)
type NewStreamFunc ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewHelloService ¶
func (*Service) HandleStream ¶
Click to show internal directories.
Click to hide internal directories.