Giter Site home page Giter Site logo

bootstrap-private-network's Introduction

Readme

Purpose

The TLDR; Quickly set up Antelope Software and see Savanna working with near instant finality. See Use Cases for background.

Topology

This reference and documentation sets up three separate nodes on a single host. Each node is a separate process distinguished with different port numbers.

graph LR;
    One(Node-One:8888)<-->Two(Node-Two:6888);
    One(Node-One:8888)<-->Three(Node-Three:7888);
    Two(Node-Two:6888)<-->Three(Node-Three:7888);
Loading

Quick Start Guide

  • Build Docker Image

    • ./bin/docker-build-image.sh
  • Start Docker Container with Image

    • ./bin/docker-create-container.sh
  • Enter the Container

    • ./bin/docker-enter-container.sh
  • Setup Antelope Network, run from inside the docker container

    • /local/eosnetworkfoundation/repos/bootstrap-private-network/bin/finality_test_network.sh CREATE
  • See last_irreversible_block_num is many blocks behind head_block_num

    • run cleos get info from inside the docker container

The last irreversible block has been agreed to by the network, and can not be changed. This represents the last step in finalizing work across all the nodes. The head block has committed transactions that may be changed in the event of a bad actor, and error, or other synchronization issue.

  • Activate Savanna, run from inside the docker container

    • /local/eosnetworkfoundation/repos/bootstrap-private-network/bin/finality_test_network.sh SAVANNA
  • See Last Irreversible Block is -->three<-- block behind Head Block

    • run cleos get info from inside the docker container

The new algorithm is finalizing blocks faster. Even as producers scale up the SAVANNA algorithm will maintain the same 3 block delta between the last_irreversible_block_num and the head_block_num.

Step By Step Documentation

See Step By Step

Changes for larger multi-host production systems

Versions of this Repo

Listing of Versions between releases of this bootstrap repo across Antelope software. See Latest Change Log for PRs between releases.

Frequently Asked Questions

Q: Why is nodeos version v1.0.0-dev? A: The version was reset to v1 with the new launch of Spring.

Q: How do I free up more disk space? A: Docker can chew up a lot of space try the following commands

  • docker volume prune -f
  • docker system prune -a -f

Q: How do I remove the old docker image A: Look for the docker image id and remove it.

  • docker image ls | grep savanna-antelope
  • docker image rm a1a1aa111a11

Q: How do I stop and remove the old docker container. A: The following commands should do it

  • docker container stop savanna-private-net
  • docker container rm savanna-private-net

bootstrap-private-network's People

Contributors

ericpassmore avatar ralfweinand avatar

Watchers

 avatar Areg Hayrapetian avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.