https://tests.bitcoin.it/w/api.php?action=feedcontributions&user=Super-e-&feedformat=atomBitcoin Wiki - User contributions [en]2024-03-28T10:32:19ZUser contributionsMediaWiki 1.30.0https://tests.bitcoin.it/w/index.php?title=Testnet&diff=69041Testnet2021-12-02T10:28:59Z<p>Super-e-: /* Wallets */</p>
<hr />
<div>The '''testnet''' is an alternative Bitcoin [[block chain]] to be used for testing. Testnet coins are separate and distinct from actual bitcoins, and are never supposed to have any value. This allows application developers or bitcoin testers to experiment, without having to use real bitcoins or worrying about breaking the main bitcoin chain.<br />
<br />
Run <code>bitcoin-qt</code> or <code>bitcoind</code> with the <code>-testnet</code> flag to use the testnet (or put <code>testnet=1</code> in the <code>bitcoin.conf</code> file).<br />
<br />
There have been three generations of testnet. Testnet2 was just the first testnet reset with a different genesis block, because people were starting to trade testnet coins for real money. '''Testnet3''' is the current test network. It was introduced with the 0.7 release, introduced a third genesis block, a new rule to avoid the "difficulty was too high, is now too low, and transactions take too long to verify" problem, and contains blocks with edge-case transactions designed to test implementation compatibility. On 21 December 2015, SegNet was deployed to test the Wuille's Segregated Witness proposal.<br />
<br />
==Differences==<br />
* Default Bitcoin network protocol listen port is 18333 (instead of 8333)<br />
* Default RPC connection port is 18332 (instead of 8332)<br />
* Bootstrapping uses different DNS seeds.<br />
* A different value of <code>ADDRESSVERSION</code> field ensures no testnet Bitcoin addresses will work on the production network. (<code>0x6F</code> rather than <code>0x00</code>)<br />
* The protocol message header bytes are <code>0x0B110907</code> (instead of <code>0xF9BEB4D9</code>) <br />
* Minimum [[difficulty]] of 1.0 on testnet is equal to difficulty of 0.5 on mainnet. This means that the mainnet-equivalent of any testnet difficulty is half the testnet difficulty. In addition, if no block has been found in 20 minutes, the difficulty automatically resets back to the minimum for a single block, after which it returns to its previous value.<br />
* A new genesis block<br />
* The <code>IsStandard()</code> check is disabled so that non-standard transactions can be experimented with.<br />
<br />
==Genesis Block==<br />
<br />
Testnet uses a different genesis block to the main network. You can find it [https://mempool.space/testnet/block/000000000933ea01ad0ee984209779baaec3ced90fa3f408719526f8d77f4943 here].<br />
The testnet was [https://github.com/gavinandresen/bitcoin-git/commit/feeb761ba07af74a7cd78b8c8f7c2a961fd9ea1c reset with a new genesis block] for the 0.7 Bitcoin release.<br />
<br />
==Size==<br />
Testnet receives less transactions than the main block chain and is typically much smaller in size. As of January 2018, the size of the data on disk was 14&nbsp;GB containing data for about 6 years worth of testnet activity. Downloading this data required about 12&nbsp;GB of network activity peaking at 2&nbsp;MB/s rate of transfer.<br />
<br />
==External links==<br />
<br />
* [https://bitcointalk.org/?topic=4483.0 Testnet in a box forum topic]<br />
* [https://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/ Testnet-In-A-Box self-contained testnet]<br />
* [https://github.com/freewil/bitcoin-testnet-box Forked/Updated testnet-box]<br />
<br />
===Wallets===<br />
<br />
Online testnet wallets to help you test your application.<br />
<br />
* [https://CoPay.io/ CoPay.io] wallet supports TestNet accounts<br />
<br />
===Faucets===<br />
<br />
Once you're done with your test coins, it is a nice gesture to send them back to the faucets, so they become available to other developers.<br />
* [http://tbtc.bitaps.com bitaps.com Testnet Faucet + double spend test tool]<br />
* [http://bitcoinfaucet.uo1.net/ UO1 Testnet Faucet]<br />
* [https://play.google.com/store/apps/details?id=com.mycelium.testnetwallet Mycelium Testnet Wallet for Android with integrated Testnet "faucet" function (Local Trader)]<br />
* [https://testnet-faucet.mempool.co mempool.co testnet3 Faucet]<br />
* [http://kuttler.eu/bitcoin/btc/faucet/ nkuttler's Bitcoin Testnet Faucet]<br />
<br />
Offline (2018-09-06):<br />
<br />
* [http://tpfaucet.appspot.com/ TP's TestNet Faucet]<br />
* [https://testnet.manu.backend.hamburg/faucet flyingkiwi's TestNet Faucet]<br />
<br />
Offline (2016-08-07):<br />
<br />
* [http://faucet.luis.im/ luis.im Mojocoin Testnet3 Faucet]<br />
* [https://accounts.blockcypher.com/testnet-faucet BlockCypher Testnet Faucet], also provided as a [http://dev.blockcypher.com/#faucets Testnet faucet API] for test automation<br />
<br />
===Block explorers===<br />
* [https://mempool.space/testnet Bitcoin Testnet on mempool.space]<br />
* [http://tbtc.bitaps.com/ Bitcoin Testnet Explorer on bitaps.com]<br />
* [https://www.biteasy.com/testnet/blocks Biteasy.com Testnet Blockexplorer]<br />
* [http://testnet.blockchain.info Blockchain.info Testnet Explorer]<br />
* [https://test-insight.bitpay.com/ Bitcoin Testnet on insight.bitpay.com]<br />
* [https://www.blocktrail.com/tBTC BlockTrail Testnet Explorer, Testnet API and Testnet Faucet]<br />
* [https://live.blockcypher.com/btc-testnet/ BlockCypher Testnet Explorer]<br />
[[Category:Technical]]<br />
[[Category:Developer]]<br />
<br />
{{Bitcoin Core documentation}}</div>Super-e-https://tests.bitcoin.it/w/index.php?title=Mastering_Bitcoin&diff=66217Mastering Bitcoin2019-02-24T23:08:32Z<p>Super-e-: Specified that sourced pages have proper attribution on the book. Removed subjective opinion about promoted practices. Added current status of best seller.</p>
<hr />
<div>'''''Mastering Bitcoin''''' by [[Wikipedia:Andreas Antonopoulos|Andreas M. Antonopoulos]] is [http://chimera.labs.oreilly.com/books/1234000001802/index.html a freely-available book] on Bitcoin by O'Reilly publishers, published in 2015.<br />
<br />
Mastering Bitcoin copies significant portions of this wiki<ref>https://github.com/aantonop/bitcoinbook/blob/develop/appdx-scriptops.asciidoc</ref><ref>https://en.bitcoin.it/wiki/Script</ref> giving proper attribution as specified by the Creative Commons Attribution license<ref>https://creativecommons.org/licenses/by/3.0/</ref> used by this wiki. Mastering Bitcoin is a digital currency best seller<ref>https://www.amazon.com/Best-Sellers-Books-Digital-Currencies/zgbs/books/10806607011</ref>.<br />
[[Category:Educational]]<br />
{{italic}}<br />
==See Also==<br />
[https://bitcoin.org/en/developer-documentation Bitcoin.org Developer Documentation]<br />
*''Mastering Bitcoin'' from O'Reilly (DRM-free book; May 2015 edition):<br />
**[https://isidore.co/calibre/get/epub/5328 EPUB format]<br />
**[https://isidore.co/calibre/get/pdf/5328 PDF format]<br />
*[https://isidore.co/calibre#panel=book_details&book_id=6316 ''Mastering Bitcoin: Programming the Open Blockchain'' from O'Reilly] ([https://isidore.co/calibre/get/epub/6316 DRM-free EPUB]; June 2017, 2<sup>nd</sup> edition)<br />
*[https://github.com/aantonop/bitcoinbook GitHub page]<br />
*[https://www.bitcoinbook.info/ author's book page]<br />
<br />
==References==<br />
<br />
<references/></div>Super-e-