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
Leo Chen 0e4fb10e62 [ping] remove a debug log message of ping 6 years ago
..
worker More fixes/improvements 6 years ago
README.md Add readme for /node 6 years ago
contract.go remove smart contract lottery and puzzle 6 years ago
contract_test.go A cumulative collection of fixes/improvements: 6 years ago
demo_contract.go Merge branch 'cello' into merge 6 years ago
errors.go add puzzle contract 6 years ago
node.go remove smart contract lottery and puzzle 6 years ago
node.md Some adhoc cleanup 6 years ago
node_genesis.go remove enum and remove comments 6 years ago
node_handler.go [ping] remove a debug log message of ping 6 years ago
node_handler_test.go A cumulative collection of fixes/improvements: 6 years ago
node_newblock.go in view change mode,node accepts normal message and change state at committed message; 6 years ago
node_syncing.go in view change mode,node accepts normal message and change state at committed message; 6 years ago
node_test.go A cumulative collection of fixes/improvements: 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
puzzle_contract.go working local txgen 6 years ago
rpc.go Ricl rpc (#880) 6 years ago
service_setup.go clean up main.go code 6 years ago
staking.go clean up unused function 6 years ago
staking_test.go remove bad practice code and add tx 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.