mirror of
https://github.com/logos-co/logos-libp2p-module.git
synced 2026-08-31 00:21:08 +00:00
docs(tutorial): followup (#92)
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
/// This tutorial will guide you through the basics of creating, configuring,
|
||||
/// starting, and stopping a libp2p node using the Logos libp2p module.
|
||||
///
|
||||
/// ## Before You Start
|
||||
///
|
||||
/// Make sure you can build the `logos-libp2p-module` project. See the
|
||||
/// project's `README.md` for build instructions using Nix or CMake.
|
||||
///
|
||||
/// ## What is libp2p?
|
||||
///
|
||||
/// [libp2p](https://libp2p.io/) is a modular networking stack for building
|
||||
@@ -22,7 +17,7 @@
|
||||
|
||||
/// ## Step 1: Include the module header and instantiate a node
|
||||
///
|
||||
/// Every program starts by including the module's single public header:
|
||||
/// Every program starts by including the module's single public header - `"plugin.h"`:
|
||||
#include <cstdio>
|
||||
#include <string>
|
||||
#include "plugin.h"
|
||||
|
||||
Reference in New Issue
Block a user