Giter Club home page Giter Club logo

level-geth-pbft-exe's Introduction

直接运行方式(geth-pbft)

下载可执行文件,直接运行:

命令行运行git clone https://github.com/Agzs/geth-pbft-exe.git

命令行打开cd geth-pbft-exe

命令行运行chmod 777 install.sh

命令行运行sudo ./install.sh

ctrl+art+T打开命令行,运行sudo gedit .bashrc

在文件最后一行添加export PATH=$PATH:"/usr/local/geth-pbft"

保存文件后,在命令行运行source .bashrc

若后期想修改配置文件,命令行运行cd $HOME/.geth-pbft,该目录下有两个.yaml文件:

config.yaml文件配置PBFT相关参数,诸如VP个数、timeout等

core.yaml文件配置rocksDB数据库的存储,用于保存viewchange过程中的信息。

注: 运行时,由于权限问题,需要通过命令行sudo -s进入root模式,在root模式下,运行geth指令,注意,不能通过sudo geth ...,否则会提示sudo: geth: command not found

在root模式下,运行geth version,可能会提示:

root@blockchain:~# geth version
geth: error while loading shared libraries: librocksdb.so.4.1: cannot open shared object file: No such file or directory

原因:系统没有安装librocksdb.so.4.1的共享库

解决方法:安装librocksdb.so.4.1的共享库

level-geth-pbft-exe's People

Contributors

agzs avatar

Stargazers

 avatar

Watchers

James Cloos avatar

level-geth-pbft-exe's Issues

求助geth pbft的源码

你好,请问你这里目前还有geth pbft的源码吗?我之前问了Wangzhiguo,他让我来问一下你。我想研究一下如何修改geth的共识,所以想拜读一下你们的源码。请问可以分享一下吗?本人将万分感谢!

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.