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 27f36cde75 [misc] rename needFriends to enoughMinPeers 4 years ago
..
worker cleanup and fixes during audit (#2931) 5 years ago
README.md Add readme for /node 6 years ago
contract.go [project] Remove dead Lottery app code, optimize node/... on what staticcheck showed (#2688) 5 years ago
double_signing.go [staking][validation][protocol] (#2396) 5 years ago
node.go [misc] rename needFriends to enoughMinPeers 4 years ago
node.md [service][node] Project Tech debt clean up, remove wallet (#2664) 5 years ago
node_cross_link.go cherrypick log level change 5 years ago
node_cross_shard.go cherrypick log level change 5 years ago
node_explorer.go cherrypick log level change 5 years ago
node_genesis.go [project] Remove dead Lottery app code, optimize node/... on what staticcheck showed (#2688) 5 years ago
node_handler.go [misc] rename needFriends to enoughMinPeers 4 years ago
node_handler_test.go Revert merge normal and staking txns (#2895) 5 years ago
node_newblock.go cherrypick log level change 5 years ago
node_syncing.go Merge remote-tracking branch 'origin/t3' 5 years ago
node_test.go [node] Redundant field removed - dead files & scripts , update deprecated libp2p package names, fold p2p code (#2817) 5 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
rpc.go [rpc][p2p] Expose peer connectivity (#2962) 5 years ago
service_setup.go [api] Remove discovery service (#2947) 5 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.