home..

P2P Server-Client Blockchain (WPF)

C# sockets multithreading blockchain p2p asynchronous programming

FULL SOURCE CODE:

Github

Mining With Multiple Applications

Blockchain - Main Screen

Each application connects to the other using different ports over LAN. Before doing that the application waits using a blocking function until the other application connects to it. This is done to make sure that both applications are connected to each other before starting mining.

An ‘unlimited’ amount of client-server pairs can be connected to each other. The server will send the new blocks to all of the clients every 5 seconds.