bureka

package module
v0.0.0-...-3cacc02 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2020 License: MIT Imports: 0 Imported by: 0

README

Bureka

⚠ WORK IN PROGRESS! ⚠

An implementation of the Pastry DHT in go. This package includes a libp2p compatible node making it easy to use in a libp2p network.

Usage with libp2p:

func main() {
    writer := node.NewWriter()
    d := dht.New(id, writer)
    
    n := node.New(ctx.Background(), d, host.Host, writer)
}

Documentation

Overview

Package bureka implements a pastry-like DHT over libp2p.

The implementation is inspired by https://github.com/libp2p/go-libp2p-kad-dht, as well as various Node implementations including https://github.com/secondbit/wendy.

Directories

Path Synopsis
dht
Package dht contains an implementation of a pastry dht state machine.
Package dht contains an implementation of a pastry dht state machine.
internal/mocks
Package internal is a generated GoMock package.
Package internal is a generated GoMock package.
state
Package state contains structures related to a node's state as documented in the pastry paper.
Package state contains structures related to a node's state as documented in the pastry paper.
Package node contains an implementation of a pastry node that is compatible with libp2p.
Package node contains an implementation of a pastry node that is compatible with libp2p.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL