Knowing the main differences between public and private blockchains is important as blockchain technology…