Skip to content
This repository was archived by the owner on Sep 29, 2021. It is now read-only.

Files

Latest commit

e4becd7 · Jun 18, 2020

History

History
32 lines (19 loc) · 1.95 KB

README.md

File metadata and controls

32 lines (19 loc) · 1.95 KB

NaHS logo

Network of Autonomous and Heterogeneous Services (NaHS)

Build Status codecov License: MPL 2.0 Go Version GoDoc Reference

Modules

  • events: Describes BSPL instance events according to the implementation. As of now there are three events:

    • NewEvent to create an instance of a protocol.

    • UpdateEvent to update an instace comparing it to a future version of it.

    • DropEvent to cancel an instance for any reason.

  • net: Networking components. The main struct is Node. A node has a BSPL reasoner and a LibP2P host, implementing methods and handlers to send BSPL components between network peers. Nodes discover each other either manually or with the libp2p implementation of rendezvous (preferred) using the default bootstrap nodes.

Other folders

  • config: Contains the private key of the main network (which is public, private only limits interaction to NaHS nodes).

  • scripts: Contains a script to generate a private network key.

  • test: Test resources.