-
**What is testnet in Bitcoin?
testnet in Bitcoin is a variant of mainnetwork, where (when testing new apps etc.) the interactions with the network do not have real value and some control features (which are neccessary on mainnet) are disabled because as a tester, you do not need those to be carried out. -
**What is regtest mode?
Regtest mode stands for regression test mode, which is testnet, but where the interaction with other peers is disabled, so that you alone can create and implement blocks, at any given moment, without consensus checks from those other peers. That means you are master over the network and you can create blocks whenever you want with whatever content/ Tx’s you want. -
What is the advantage and disadvantage of each? (TRY TO THINK FOR YOURSELF)
-)Advantage of testnet: you can test new apps / code / improvements of existing apps in an environment without impacting mainnet, and when doing so, no real bitcoin gets lost…
-)Disadvantage of testnet: There is probably no 100% certainty that whatever is tried and has succeed on testnet, will succeed or is battletested on mainnet because only you tested, not others. If proven wrong, Bitcoin could be at risk when implemented on mainnet.
-)Advantage of regtest mode: You can research implications or situations where a 51% attackon mainnet was succesful and what to do to limit damage when this happened in order to restore the network.
-)Disadvantage of regtest mode: you can not research or explore the social power (Layer 0) of Bitcoin because you do not know how your test results will be changed when other peers com into the mix