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

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelsr committed Jun 18, 2020
1 parent c517c0f commit e4becd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ Network of Autonomous and Heterogeneous Services (NaHS)

## Modules

* `events`: Describes BSPL instance events according to the toy [implementation](https://github.com/mikelsr/bspl/tree/master/implementation). As of now there are three events:
* `events`: Describes BSPL instance events according to the [implementation](https://github.com/mikelsr/bspl/tree/master/implementation). As of now there are three events:

* `NewEvent` to create an [instance](https://github.com/mikelsr/bspl/blob/master/bspl.go#L27) of a [protocol](https://github.com/mikelsr/bspl/blob/master/bspl.go#L20).

* `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`](https://github.com/mikelsr/nahs/blob/master/net/node.go). A node has a [BSPL reasoner](https://github.com/mikelsr/bspl/blob/master/bspl.go#L25) and a [LibP2P host](https://github.com/libp2p/go-libp2p-core/blob/master/host/host.go), 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. Private network logic is implemented but disabled for now.
* `net`: Networking components. The main struct is [`Node`](https://github.com/mikelsr/nahs/blob/master/net/node.go). A node has a [BSPL reasoner](https://github.com/mikelsr/bspl/blob/master/bspl.go#L25) and a [LibP2P host](https://github.com/libp2p/go-libp2p-core/blob/master/host/host.go), 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

Expand Down

0 comments on commit e4becd7

Please sign in to comment.