Bitcoin Core 0.17.1

Bitcoin Core installation binaries can be downloaded from bitcoincore.org and the source-code is available from the Bitcoin Core source repository.

Bitcoin Core 0.17.1 版本現已發布,可從以下位置下載:

https://bitcoincore.org/bin/bitcoin-core-0.17.1/

Download torrent

此小版本包含各種錯誤修正和效能改善,以及更新的翻譯。

請使用 GitHub 的問題追蹤器回報錯誤:

https://github.com/bitcoin/bitcoin/issues

如需接收安全性和更新通知,請訂閱:

https://bitcoincore.org/zh_TW/list/announcements/join/

如何升級

如果您正在執行舊版本,請將其關閉。等待它完全關閉(舊版本可能需要幾分鐘),然後執行安裝程式(在 Windows 上)或直接複製 /Applications/Bitcoin-Qt(在 Mac 上)或 bitcoind/bitcoin-qt(在 Linux 上)。

如果您的節點有 txindex,第一次執行 0.17.0 或更新版本時,txindex 資料庫將被遷移,這可能需要幾個小時。在此遷移完成之前,您的節點將無法運作。

第一次執行版本 0.15.0 或更新版本時,您的 chainstate 資料庫將被轉換為新格式,這將花費幾分鐘到半小時不等的時間,取決於您機器的速度。

請注意,區塊資料庫格式在版本 0.8.0 中也有變更,並且從 0.8 之前的版本升級到 0.15.0 沒有自動升級程式碼。不支援從 0.7.x 及更早版本直接升級而不重新下載區塊鏈。然而,如往常一樣,仍然支援舊版本的錢包。

降級警告

此版本的 chainstate 資料庫與先前版本不相容,因此如果您執行 0.15 然後決定切換回任何較舊版本,您將需要使用 -reindex-chainstate 選項執行舊版本,以舊格式重建 chainstate 資料結構。

如果您的節點已啟用修剪,這將需要重新下載和處理整個區塊鏈。

相容性

Bitcoin Core 在使用 Linux kernel、macOS 10.10+ 和 Windows 7 及更新版本的作業系統上經過廣泛測試(不支援 Windows XP)。

Bitcoin Core 也應該可以在大多數其他類 Unix 系統上運作,但在這些系統上的測試頻率較低。

從 0.17.0 開始,不再支援 macOS 10.10 之前的版本。0.17.0 使用 Qt 5.9.x 建置,該版本不支援 macOS 10.10 之前的版本。

重要變更

listtransactions 標籤支援

在 0.17.0 中被棄用並重新命名為 dummylisttransactions RPC account 參數已被取消棄用並再次重新命名為 label

當 bitcoin 使用 -deprecatedrpc=accounts 設定進行設定時,指定 label/account/dummy 參數將返回傳出和傳入交易。沒有 -deprecatedrpc=accounts 設定,它將僅返回傳入交易(因為過去可以建立從特定帳戶支出的交易,但使用標籤不再可能這樣做)。

設定 -deprecatedrpc=accounts 時,可以傳遞空字串 “” 來列出沒有任何標籤的交易。沒有 -deprecatedrpc=accounts,傳遞空字串是一個錯誤,因為僅返回無標籤交易通常不是有用的行為,並且可能導致混淆。

0.17.1 變更日誌

P2P 協定和網路程式碼

  • #14685 9406502 Fix a deserialization overflow edge case (kazcw)
  • #14728 b901578 Fix uninitialized read when stringifying an addrLocal (kazcw)

錢包

  • #14441 5150acc Restore ability to list incoming transactions by label (jnewbery)
  • #13546 91fa15a Fix use of uninitialized value bnb_used in CWallet::CreateTransaction(…) (practicalswift)
  • #14310 bb90695 Ensure wallet is unlocked before signing (gustavonalle)
  • #14690 5782fdc Throw error if CPubKey is invalid during PSBT keypath serialization (instagibbs)
  • #14852 2528443 backport: [tests] Add wallet_balance.py (MarcoFalke)
  • #14196 3362a95 psbt: always drop the unnecessary utxo and convert non-witness utxo to witness when necessary (achow101)
  • #14588 70ee1f8 Refactor PSBT signing logic to enforce invariant and fix signing bug (gwillen)
  • #14424 89a9a9d Stop requiring imported pubkey to sign non-PKH schemes (sipa, MeshCollider)

RPC 和其他 API

  • #14417 fb9ad04 Fix listreceivedbyaddress not taking address as a string (etscrivner)
  • #14596 de5e48a Bugfix: RPC: Add address_type named param for createmultisig (luke-jr)
  • #14618 9666dba Make HTTP RPC debug logging more informative (practicalswift)
  • #14197 7bee414 [psbt] Convert non-witness UTXOs to witness if witness sig created (achow101)
  • #14377 a3fe125 Check that a separator is found for psbt inputs, outputs, and global map (achow101)
  • #14356 7a590d8 Fix converttopsbt permitsigdata arg, add basic test (instagibbs)
  • #14453 75b5d8c Fix wallet unload during walletpassphrase timeout (promag)

GUI

  • #14403 0242b5a Revert “Force TLS1.0+ for SSL connections” (real-or-random)
  • #14593 df5131b Explicitly disable “Dark Mode” appearance on macOS (fanquake)

建置系統

  • #14647 7edebed Remove illegal spacing in darwin.mk (ch4ot1c)
  • #14698 ec71f06 Add bitcoin-tx.exe into Windows installer (ken2812221)

測試和 QA

  • #13965 29899ec Fix extended functional tests fail (ken2812221)
  • #14011 9461f98 Disable wallet and address book Qt tests on macOS minimal platform (ryanofsky)
  • #14180 86fadee Run all tests even if wallet is not compiled (MarcoFalke)
  • #14122 8bc1bad Test rpc_help.py failed: Check whether ZMQ is enabled or not (Kvaciral)
  • #14101 96dc936 Use named args in validation acceptance tests (MarcoFalke)
  • #14020 24d796a Add tests for RPC help (promag)
  • #14052 7ff32a6 Add some actual witness in rpc_rawtransaction (MarcoFalke)
  • #14215 b72fbab Use correct python index slices in example test (sdaftuar)
  • #14024 06544fa Add TestNode::assert_debug_log (MarcoFalke)
  • #14658 60f7a97 Add test to ensure node can generate all rpc help texts at runtime (MarcoFalke)
  • #14632 96f15e8 Fix a comment (fridokus)
  • #14700 f9db08e Avoid race in p2p_invalid_block by waiting for the block request (MarcoFalke)
  • #14845 67225e2 Add wallet_balance.py (jnewbery)

文件

致謝

感謝所有直接為此版本做出貢獻的人:

  • Andrew Chow
  • Chun Kuan Lee
  • David A. Harding
  • Eric Scrivner
  • fanquake
  • fridokus
  • Glenn Willen
  • Gregory Sanders
  • gustavonalle
  • John Newbery
  • Jon Layton
  • Jonas Schnelli
  • João Barbosa
  • Kaz Wesley
  • Kvaciral
  • Luke Dashjr
  • MarcoFalke
  • MeshCollider
  • Pieter Wuille
  • practicalswift
  • Russell Yanofsky
  • Sjors Provoost
  • Suhas Daftuar
  • Tim Ruffing
  • Walter
  • Wladimir J. van der Laan

以及所有在 Transifex 上協助翻譯的人。