Comments (2)
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://gobyexample.com/methods
from bitconch-core.
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)
- Remove duplicate codes
- Support transaction history query on blockexplorer
- Upgrade block explorer to v1.1.2
- Add comments for source codes
- Fix node crash issue. HOT 5
- Upgrade javascript api (bitconch-web3j) to v1.1.4
- Upgrade Bitconch node engine RPC interface
- leader service && validator service crashed by "cannot allocate memory" HOT 3
- Correct typos and comments in the existing codes
- Reboot leader service failed due to "Resource temporarily unavailable"
- Adding some new features to morgan
- Fixing the " memory usage growing too fast by explorer" problem
- explorer service back online
- Test for balance transfer fails.
- Technical Weekly Report (Oct 22) HOT 4
- Technical Weekly Report (Oct 28) HOT 4
- New docker building scripts
- Seperate go source and rust into different repo
- Dependabot couldn't find the submodule vendor/bus-rust
- error: could not find `Cargo.toml` in `/home/ubuntu/Desktop/bitconch-core1` or any parent directory
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitconch-core.