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
Edgar Aroutiounian ac579e81d8 [slashing] Create Slasher interface, thread through to Accumulate in reward 5 years ago
..
worker
README.md
contract.go
errors.go
node.go
node.md
node_cross_shard.go
node_error.go
node_explorer.go
node_genesis.go
node_handler.go
node_handler_test.go
node_metrics.go
node_newblock.go
node_resharding.go
node_syncing.go
node_test.go
node_utils.go
p2p.go
rpc.go
service_setup.go

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.