Blockchain public and private