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
Minh Doan b15fdf1ee1 add enter method smart contract 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 add enter method smart contract 6 years ago
contract_test.go add test 6 years ago
node.go add demo contract to genesis 6 years ago
node.md fix format in node.md 6 years ago
node_genesis.go add constant for init fund 6 years ago
node_handler.go make resharding logic work 6 years ago
node_handler_test.go change BlsPubKey to ConsensusPubKey and remove unnecessary log 6 years ago
node_newblock.go Add shard state hash into genesis 6 years ago
node_syncing.go we need to pass reference as sync.Map contains mutex 6 years ago
node_test.go combine wallet/txgen into light client node; 6 years ago
p2p.go [cleanup] remove libp2p unicast support 6 years ago
service_setup.go add newclientsupport and fix tests for client&server of new client support 6 years ago
staking.go Reshard based on real stake info 6 years ago
staking_test.go put StakeInfo into the calcualtion of shard state 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.