1.What is testnet in Bitcoin?
Testnet is a simulation of the Bitcoin main network:
Developers can do test transaction checks which makes it possible to run test function.
What is regrets mode?
It’s like the testnet with the same basic rules but with the difference that regtest allows us to create instantly and when we wish it, a new block on our own computer.
What is the advantage and disadvantage of each?
The advantage of testnet is that you can do very realistic test trials before you run the application on the main Bitcoin network.
Testnet’s disadvantage is its slowness, i.e it takes time to get the desired test results.
Regtest’s advantage is that you can create a new block immediately, so you can test your application much faster. Which is certainly more advantageous for the intial development. The disadvantage is that you cannot test under real conditions.
For the final test’s, the Bitcoin testnet is better suited.