An Actor model involving Master and Worker actors that can be used for mining bitcoins of desired number of starting zeroes.