Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

forward: Kademlia forwarder peer query service #2052

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

nolash
Copy link
Contributor

@nolash nolash commented Dec 18, 2019

This PR is the first step of implementing the component described in ethersphere/SWIPs#35

It introduces a new package network/forward, which contains:

  • Session - represents a single peer query
  • SessionManager - index of existing sessions, used for queries that should be kept alive
  • SessionContext - specialized context.Context object intended for use in multiple RPC API calls for the same session

The goal of the PR is to set up the framework for the package, and enable the simplest mode of operation; static, synchronous retrieval of peers from the given kademlia backend.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant