/nahs

Network of Autonomous and Heterogeneous Services (NaHS)

Primary LanguageGoMozilla Public License 2.0MPL-2.0

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.