Every node can send commands to other nodes. The commands for nodes are:
SYNC -> Usually asking the other node to send over the latest state of the blockchain as a sqlite file
BROADCAST -> Sent to every other node in the network on a best effort basis, mostly after a successfull mining operation]
Every client can send transactions to nodes. Clients usually manage a walletstore where each wallet contains the secretKey, publicKey and balance of the wallet user. Clients are the ones who send TRANSACTION commands.
This blockchain is built on tcp and the message format is:
Mining means to increase a nonce until the sha256 hash of the transaction data starts with 4 zeroes (0000)
EDIT: a node is running at 20.51.195.111 on port 2005, just clone my repo, follow the instructions on the README.md, but change the genesis node in init.nim to 20.51.195.111 and run the client/client.nim file to get free coins
website video repo
Every node can send commands to other nodes. The commands for nodes are:
Every client can send transactions to nodes. Clients usually manage a walletstore where each wallet contains the secretKey, publicKey and balance of the wallet user. Clients are the ones who send TRANSACTION commands.
This blockchain is built on tcp and the message format is:
EXAMPLE FOR TRANSACTION:
Mining means to increase a nonce until the sha256 hash of the transaction data starts with 4 zeroes (0000)
EDIT: a node is running at 20.51.195.111 on port 2005, just clone my repo, follow the instructions on the README.md, but change the genesis node in
init.nim
to 20.51.195.111 and run the client/client.nim file to get free coins