student_19_libp2p_tlc

module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2019 License: GPL-3.0

README

TLC Implementations

This repository contains different transport layer implementations for TLC protocol. Currently, there are 2 main implementations:

  • Libp2p implementation
  • Mail-based implementation

Libp2p Implementation

In this impementation, libp2p is used as the communication layer of the TLC protocol. Nodes broadcast and receive messages using libp2p implementation of PubSub which is named GossipSub. All nodes subscribe to a topic and then start publishing messages to that topic. Subscribed nodes will receive published messages on the topic.

3 different transport layer implementations have been used as the tranport module of libp2p:

  • TCP
  • QUIC
  • Websocket

Simulations are mainly based on the TCP implementation but all functions are provided for simulating on top of the other protocols.

Mail-based Implementation

In this implementation, messages will be sent using mail protocols. SMTP is used for ongoing mails and IMAP is used for receiving incoming mails. Mail server implementation is not present in this repository and anyone interested in using mail-based implementation needs to setup a working mail server. You may use iRedMail to start a mail server.

Directories

Path Synopsis
transport

Jump to

Keyboard shortcuts

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