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
Rongjian Lan fdcce8e4de Add tests for node_handler.go; move stream interface to its own file;create mock for stream.go 6 years ago
..
worker Increase gas limit 6 years ago
README.md Add readme for /node 6 years ago
address_faker.go Cleanup node.go 6 years ago
node.go move client to api/client 6 years ago
node_handler.go use in-repo log module for p2p 6 years ago
node_handler_test.go Add tests for node_handler.go; move stream interface to its own file;create mock for stream.go 6 years ago
node_test.go Add tests for node_handler.go; move stream interface to its own file;create mock for stream.go 6 years ago
p2p.go HAR-65: support node removal after node is offline 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.