The Chinese (Simplified) wiki is no longer maintained and is in read-only mode. Information contained within may be inaccurate or outdated. Please go to the English wiki for more up to date information.

从英文自动翻译:中文(简体)维基不再维护,处于只读模式。其中包含的信息可能不准确或过时。请前往英文维基获取更多最新信息。

Testnet

来自Bitcoin Wiki
023yangbo留言 | 贡献2011年8月15日 (一) 13:58的版本 (以内容“'''测试网络'''被设计来替代 Bitcoin block chain,用于测试。它允许程序开发者或 bitcoin 试用者进行试验性的操作,而不用担心...”创建新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转到导航 跳转到搜索

测试网络被设计来替代 Bitcoin block chain,用于测试。它允许程序开发者或 bitcoin 试用者进行试验性的操作,而不用担心破费 bitcoin 或破解 bitcoin chain.

运行 bitcoin 或 bitcoind 时添加参数 -testnet 即可,或者在 bitcoin.conf 中添加一行 testnet=1 亦可。

两者区别

  • 使用18333端口替代8333。
  • Bootstrapping IRC channel is #bitcoinTEST instead of #bitcoin (both on irc.lfnet.org). The built-in node list is disabled.
  • A different value of ADDRESSVERSION field ensures no testnet BitCoin addresses will work on the production network. (0x6F rather than 0x00)
  • The protocol message header bytes are shifted up (0xFABFB5DA instead of 0xF9BEB4D9)
  • 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.
  • A new genesis block

Genesis Block

Testnet uses a different genesis block to the main network. You can find it at http://blockexplorer.com/testnet/b/0 The testnet was reset with a new genesis block for the 0.3.20 bitcoin release.

External links