Git Product home page Git Product logo

Comments (2)

caesarchad avatar caesarchad commented on June 12, 2024

1 .create a main entry point for mvp binary

1. It will take the following parameters as input

  • id, the pubkey as identifier
  • network, the gossip entry point for the client to connect to
  • file, the storage location for the data

2. It will check the availability for all the parameters which has been passed in

3. A process which will select the leader in gossip pool

4. Create a new instance of client

5. Loop

  • Check the balance is correct
  • Loop to request air drop until

6. Loop

  • Run the handle_role_transition loop

https://softwareengineering.stackexchange.com/questions/247298/how-are-rust-traits-different-from-go-interfaces

https://gobyexample.com/methods

from bitconch-core.

caesarchad avatar caesarchad commented on June 12, 2024

2 .Create a fullnode instance

1. Create an enumerator NodeRole

2. Create a struct LeaderServices and implement several functions

  • new:return a struct type

  • join:evoke the join method in broadcast_stage and tpu

  • exit:evoke the exit method in tpu

3. Create a struct ValidatorServices and implement several functions

from bitconch-core.

Related Issues (20)

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.