Implementing BitCoin type Server client Implementation Using Scala . Here Server is like the master and which assigns the work to client , When Client is ready it pings servers and gets work from the server ,completes the work and sends back the results to server .