- What is testnet in Bitcoin?
- What is regtest mode?
- What is the advantage and disadvantage of each? (TRY TO THINK FOR YOURSELF)
A.1. Testnet in Bitcoin is a testing tool for developers that allow no real-world value satoshis to be spent. This makes it safer and cheaper to use bitcoins for testing transactions, especially for applications in progress.
A.2. Regtest mode (regression test mode) is a testing tool for developers that allow brand-new private block chain (with the same basic rules as testnet) to be created at a given time window. This allows full control over the environment while applications are still in progress.
A.3. Advantages of testnet: spent satoshis with no real-world value. Ability to test functions that might be currently disabled by default on the mainnet.
Disadvantages of testnet: possible time consuming because a developer has to involve someone else in the transaction process.
Advantages of regtest mode: speed and control as new blocks can be issued in shorter time windows and brand-new block chains can be created.
Disadvantages of regtest mode: it does not require proof-of-work consensus for newly mined blocks.
Q.1. What is the process of mining satoshis with no real-world value?
Q.2. How can someone have access to those no real-world value satoshis?
Q.3. How secure is the testnet and regtest mode if there is no PoW consensus?