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
Eugene Kim 0fafc39ba5 Merge remote-tracking branch 'refs/remotes/harmony-one/master' into goimports 6 years ago
..
worker Rename state.StateDB to state.DB (#255) 6 years ago
README.md Add readme for /node 6 years ago
address_faker.go Adjust import paths and also goimports 6 years ago
node.go add service type, action -- modify test for TakeAction 6 years ago
node.md update doc 6 years ago
node_handler.go Merge remote-tracking branch 'refs/remotes/harmony-one/master' into goimports 6 years ago
node_handler_test.go Merge branch 'master' of github.com:harmony-one/harmony into goimports 6 years ago
node_test.go Migrate to BLS 6 years ago
p2p.go Move Host interface into the top-level p2p package 6 years ago
service.go fix compilation problem 6 years ago
service_test.go add comments 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.