package
0.0.0-20220207103309-2eef10dda485
Repository: https://github.com/csunny/argo.git
Documentation: pkg.go.dev

# README

Node need todo

  • Allow it to enter a token balance
  • Receive a broadcast of the latest blockchain
  • Receive a broadcast of which validator in the network won the latest block
  • Add itself to the overall list of validators
  • Enter block data BPM --remember, this is each validator's pulse rate
  • Propose a new block

Test

  • Use Linux nc command nc localhost 9090

  • Enter Balance you want to set.

  • BPM use to generate a new block

Reference

# Packages

No description provided by the author

# Functions

pickWinner creates a lottery pool of validators and chooses the validator who gets to forge a block to the blockchain by random selecting from the pool, weighted by amount of tokens staked.
.

# Variables

Blockchain is a series of validated Blocks.

# Structs

No description provided by the author