Expand description
Task which responses to requests from the network
Structs§
- Network
Response State - Task state for the Network Request Task. The task is responsible for handling requests sent to this node by the network. It will validate the sender, parse the request, and try to find the data request in the consensus stores.
Constants§
- TXNS_
TIMEOUT 🔒 - Time to wait for txns before sending
ResponseMessage::NotFound
Functions§
- run_
response_ task - Spawn the network response task to handle incoming request for data
from other nodes. It will shutdown when it gets
HotshotEvent::Shutdown
on theevent_stream
arg. - valid_
signature 🔒 - Check the signature