GithubHelp home page GithubHelp logo

bhonetwork / bholdus-chain Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 90.73 MB

BHO Network - A blockchain network based on substrate framework

Home Page: https://bho.network

License: The Unlicense

Rust 98.61% Shell 0.30% Nix 0.11% Makefile 0.43% Handlebars 0.39% TypeScript 0.17%
substrate blockchain-node development-chain substrate-nodes bho blockchain rust wasm webassembly bhonetwork

bholdus-chain's People

Contributors

bho-quoc-pham avatar daniellam258 avatar dependabot[bot] avatar naviocean avatar stranbho avatar vuhoang19 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

bholdus-chain's Issues

Chạy mainnet

Chào ad
Mình có VPS rảnh nên đang chạy mainnet của BHO
Mình có thể làm gì với nó?

cargo build --features with-ulas-runtime --release
./target/release/bholdus --chain=ulas

Introduce Hyper runtime with manual seal consensus

Motivation
According to #83, phoenix with manual seal has problem with creating new blocks after block height 199.

It's hard to identify where the problem is. phoenix is a complex runtime of many built-in substrate pallets to make NPoS feasible. Phoenix includes Staking, Session, Session Historical, Election Provider, I'm Online, Authority Discovery,.... . Even though, the pallets are designed to be loosely coupled to each other, in runtime configuration, they are assembled to work with each other. Hence, identifying where the problem is can be troublesome.

To integrate manual seal into phoenix, I used substrate-contracts-node, frontier template as reference. I already ran contract tests against substrate-contracts-node and everything works fine. substrate-contracts-node runtime is very simple hence I'm guessing integrating manual seal consensus with such complex runtime is not trivial and requires more in-depth research.

To solve the problem in a different way without phoenix being retouched, I ask myself again why we need manual-seal runtime in this repository in the first place:

  • We need a manual seal runtime that behaves the same as substrate-contracts-node to be our development environment with ink! smart contracts.
  • We need that runtime to live in the same repository as BHO Chain so that we can easily try out new pallets and especially chain extension on that runtime. This allows BHO Ink! contract developers to have a development environment with extended features provided by BHO Chain besides stock features provided by pallet-contracts.

In the end of the day, what we need is a development runtime that is never used in production. Based on that, I decide to introduce a new runtime called Hyper with minimal configuration so that manual seal could work without errors.

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.