Wakacoin Developer
 

Wakacoin P2P Network

The Wakacoin network protocol allows nodes to collaboratively maintain a peer-to-peer network for block and transaction exchange.

Port Number

The default port number is 1024. The port number can be changed to other values according to the node needs.

If you change the port number, you need to change the database file name and wallet file name together. The default database file name is Wakacoin_1024.db and the wallet file name is wallet_1024.dat.

func main() {
	os.Setenv("NODE_ID", "1024")
}

Command-Line Interface

startnode -miner ADDRESS - Start a node with ID specified in NODE_ID env. var. -miner enables mining