Public and Private Blockchain