ex_wire v0.1.1 ExWire.Handler.FindNeighbours

Not currently implemented.

Link to this section Summary

Functions

Handler for a FindNeighbors message

Link to this section Functions

Handler for a FindNeighbors message.

Examples

iex> ExWire.Handler.FindNeighbours.handle(%ExWire.Handler.Params{
...>   remote_host: %ExWire.Struct.Endpoint{ip: [1,2,3,4], udp_port: 55},
...>   signature: 2,
...>   recovery_id: 3,
...>   hash: <<5>>,
...>   data: <<6>>,
...>   timestamp: 7,
...> })
%ExWire.Message.Neighbours{
  nodes: [],
  timestamp: 7,
}