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
chao 4551a97ce2 cleanup pendingCXReceipts map before add items back; change MustBech32 to Bech32 to avoid potential panic 5 years ago
..
worker Make pending txs a map 5 years ago
README.md Add readme for /node 6 years ago
contract.go remove legacy staking code 5 years ago
errors.go add puzzle contract 6 years ago
node.go remove legacy staking code 5 years ago
node.md Some adhoc cleanup 6 years ago
node_cross_shard.go Add staking transaction struct and handler logic 5 years ago
node_error.go Revert "Merge pull request #1413 from rlan35/cross-shard-rj" 5 years ago
node_explorer.go Fix storage instance and 0x address case 5 years ago
node_genesis.go Wire Pangaea chain config 5 years ago
node_handler.go [staking] Remove legacy code (#1679) 5 years ago
node_handler_test.go Fix lint and build 5 years ago
node_metrics.go NodeBalanceCounter -> NodeBalanceGauge, remove unnecessary stuff in metrics service 5 years ago
node_newblock.go cleanup pendingCXReceipts map before add items back; change MustBech32 to Bech32 to avoid potential panic 5 years ago
node_resharding.go fix import 5 years ago
node_syncing.go Fix mainnet release todos 5 years ago
node_test.go Revert "Merge pull request #1413 from rlan35/cross-shard-rj" 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] Expose if current node leader (#1677) 5 years ago
service_setup.go remove legacy staking code 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.