The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/node
chao 2c6292c40e whole network can restart and resume from previous state 6 years ago
..
worker Break tie of core-consensus-core import cycle; add pRnd channel for consensus 6 years ago
README.md Add readme for /node 6 years ago
contract.go whole network can restart and resume from previous state 6 years ago
contract_test.go change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago
demo_contract.go change player address to private key 6 years ago
node.go whole network can restart and resume from previous state 6 years ago
node.md Some adhoc cleanup 6 years ago
node_genesis.go change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago
node_handler.go whole network can restart and resume from previous state 6 years ago
node_handler_test.go change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago
node_newblock.go Add shard state hash into genesis 6 years ago
node_syncing.go refactor state syncing; unify state sync and beacon sync (i.e. depends 6 years ago
node_test.go change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago
node_utils.go replace consensus blsAddr with new syncID for state syncing 6 years ago
p2p.go [cleanup] remove libp2p unicast support 6 years ago
service_setup.go whole network can restart and resume from previous state 6 years ago
staking.go Do not update staking list if StakeInfo query failed 6 years ago
staking_test.go change archival node as a validator; it's more secure for archival node to validate before accept the blocks; 6 years ago

README.md

Node struct is the core entity that represents a network node participating in the Harmony protocol.

A node is the main message handler to all kinds of protocol messages such as consensus message, block sync, transactions etc. A node contains all the necessary references to other objects (e.g. blockchain object and consensus object) to handle the incoming messages.