a tree implementation of bitcoin propagation simulation