Kademlia RPC handlers and protocol logic.
- Source
Classes
Type Definitions
HandlerResponse(err, results)
The final argument passed to any protocol handler is a callback function.
Parameters:
Name | Type | Description |
---|---|---|
err | Error | | Instance of an error that prevents the handler from completing |
results | Object | | Output of the RPC operation to respond with |
- Source