Public vs. Private Blockchains: Which One Fits Your Needs?