RiseVision / old-rise-core

2 stars 6 forks source link

config.js - config collection values #14

Closed knightfenris closed 7 years ago

knightfenris commented 7 years ago

LocalConfig Collection and a NetworkConfig Collection

LocalConfig:

* CurrentBlockID * CurrentBlockLength * ConsensusLimit ( > 51 %) * PriorForgingList (2) -- used to perform consensus on the ForgingListOrder to make sure the same starting delegate does not mark itself as first again * RepairLimit ** limits the amount of time a node goes to repair and needed to refresh the database before going to broken status and needs to be issues addressed/rebuilt

NetworkConfig:

* ForgingListOrder * first delegate in the list is required to make the next list after block generation has occurred (this will have a check to stop the same delegate being first in the list again) * BlockTime (requires consensus) * DelegatePeerList (voted on) (requires consensus) * NodePeerList * NetworkName (test/working) \ DelegateCounts (active/inactive) (requires consensus)