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 173e9df04b Merge remote-tracking branch 'origin/master' into r3.1 5 years ago
..
worker move Update out of Select Transaction 5 years ago
README.md Add readme for /node 6 years ago
contract.go Replaced loggers in `node/` with custom shared logger 5 years ago
errors.go add puzzle contract 6 years ago
node.go [crash] fix a segfault using wallet for transfer 5 years ago
node.md Some adhoc cleanup 6 years ago
node_explorer.go add extra data and add TODO 5 years ago
node_genesis.go Revert "mint demo funds for testnet" 5 years ago
node_handler.go [cleanup] remove IsLeader of nodeConfig 5 years ago
node_handler_test.go add extra data and add TODO 5 years ago
node_newblock.go Revert "fix network restart issue for mainnet shard0 down" 5 years ago
node_syncing.go [resharding] allow new bls key to join shard; dynamically change the bls keys in shard 5 years ago
node_test.go [blskey] update test cases 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
rpc.go fix bugs causing ws bug 5 years ago
service_setup.go Fix bootstrap problem 6 years ago
staking.go Integrate swapped bls into core protocol 6 years ago
staking_test.go add extra data and add TODO 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.