Browse Source

Bitcoin Core 0.16.3 final

-----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEnerg3HBjJJ+wVHRoHkrtYphs0l0FAlugRdQACgkQHkrtYphs
 0l0AuAf/TIQkEZte6q0/E3Sp+2ejoSuNCS+jsDpN7eSYEazHL4e9GIe2TmpnNG9u
 5Lb5BT0Tv5zDc5ivf3Quuq0dQqRmQAyl0EiM7kSjYF3MOBFAXt4Yi4W1VRrfT9Fb
 Nabx8F8NzjnlgxuF0kLXUMfxKCN92d2fl2m4APXgyKA+OFoC2XQ/GBnqUdwMlCic
 XeDZf/xc2vZOHP0HNIn2asqdnsJBBPscjsGMcdsrEq62FZ9lmnm8FVycKbkhqaP0
 lFxVp4JbJKWKRAIks56HPjPo3TU5VEnvHyOqmwCU3rxoDGDbHWRzByApqmcyM68F
 IA5HwltL4+hM9pNouIt/U6UantsFKA==
 =nB5i
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCgAdFiEEWcrw6W8j9TdHlF/U/jNIh3gJOGwFAluhonwACgkQ/jNIh3gJ
 OGy+9Af9FT5MeQ4ucRBtXh/VjaNU78EZUywMzvJSzAyvYgqwO0WpvUXBN+9GyMM/
 k+yBvbj9PkJGSHavuGyx+2otsh3eXrd9TN2UyZiVdu8h1HBMFcsd1TxtrX+M5R7R
 HCeFA3yPF91WAw2O4fhhHUsHE2fsLR+HXyMcJa86vpJsjQdd388VGKUm7tRVwKGa
 TBFBKd5cvpLrzHFU6L7lSj7WNAIO80Bfn032P0mHB90+juP6Qpeknb7+l+TQBU9d
 mcCzpKR2oUvUtpWCTfTtC/F+NnJMA0O18wkn+UWoPXLnqCD48Dj/wYo1V6efHkRo
 HiTXg772nySxI4z7vl5zdwum75BmEg==
 =A6lU
 -----END PGP SIGNATURE-----

Merge tag 'v0.16.3' into HEAD

Bitcoin Core 0.16.3 final
0.16^2
Adrian Gallagher 6 years ago
parent
commit
c84d27f39e
  1. 2
      configure.ac
  2. 8
      doc/man/litecoin-cli.1
  3. 8
      doc/man/litecoin-qt.1
  4. 8
      doc/man/litecoin-tx.1
  5. 8
      doc/man/litecoind.1
  6. 34
      doc/release-notes.md
  7. 2
      src/validation.cpp
  8. 13
      test/functional/p2p_invalid_block.py

2
configure.ac

@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N)
AC_PREREQ([2.60]) AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 16) define(_CLIENT_VERSION_MINOR, 16)
define(_CLIENT_VERSION_REVISION, 2) define(_CLIENT_VERSION_REVISION, 3)
define(_CLIENT_VERSION_BUILD, 0) define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_IS_RELEASE, true) define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2018) define(_COPYRIGHT_YEAR, 2018)

8
doc/man/litecoin-cli.1

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH LITECOIN-CLI "1" "August 2018" "litecoin-cli v0.16.2.0" "User Commands" .TH BITCOIN-CLI "1" "September 2018" "bitcoin-cli v0.16.3.0" "User Commands"
.SH NAME .SH NAME
litecoin-cli \- manual page for litecoin-cli v0.16.2.0 bitcoin-cli \- manual page for bitcoin-cli v0.16.3.0
.SH DESCRIPTION .SH DESCRIPTION
Litecoin Core RPC client version v0.16.2.0 Bitcoin Core RPC client version v0.16.3.0
.SS "Usage:" .SS "Usage:"
.TP .TP
litecoin\-cli [options] <command> [params] litecoin\-cli [options] <command> [params]

8
doc/man/litecoin-qt.1

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH LITECOIN-QT "1" "August 2018" "litecoin-qt v0.16.2.0" "User Commands" .TH BITCOIN-QT "1" "September 2018" "bitcoin-qt v0.16.3.0" "User Commands"
.SH NAME .SH NAME
litecoin-qt \- manual page for litecoin-qt v0.16.2.0 bitcoin-qt \- manual page for bitcoin-qt v0.16.3.0
.SH DESCRIPTION .SH DESCRIPTION
Litecoin Core version v0.16.2.0 (64\-bit) Bitcoin Core version v0.16.3.0 (64\-bit)
Usage: Usage:
.IP .IP
litecoin\-qt [command\-line options] litecoin\-qt [command\-line options]

8
doc/man/litecoin-tx.1

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH LITECOIN-TX "1" "August 2018" "litecoin-tx v0.16.2.0" "User Commands" .TH BITCOIN-TX "1" "September 2018" "bitcoin-tx v0.16.3.0" "User Commands"
.SH NAME .SH NAME
litecoin-tx \- manual page for litecoin-tx v0.16.2.0 bitcoin-tx \- manual page for bitcoin-tx v0.16.3.0
.SH DESCRIPTION .SH DESCRIPTION
Litecoin Core litecoin\-tx utility version v0.16.2.0 Bitcoin Core bitcoin\-tx utility version v0.16.3.0
.SS "Usage:" .SS "Usage:"
.TP .TP
litecoin\-tx [options] <hex\-tx> [commands] litecoin\-tx [options] <hex\-tx> [commands]

8
doc/man/litecoind.1

@ -1,9 +1,9 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
.TH LITECOIND "1" "August 2018" "litecoind v0.16.2.0" "User Commands" .TH BITCOIND "1" "September 2018" "bitcoind v0.16.3.0" "User Commands"
.SH NAME .SH NAME
litecoind \- manual page for litecoind v0.16.2.0 bitcoind \- manual page for bitcoind v0.16.3.0
.SH DESCRIPTION .SH DESCRIPTION
Litecoin Core Daemon version v0.16.2.0 Bitcoin Core Daemon version v0.16.3.0
.SS "Usage:" .SS "Usage:"
.TP .TP
litecoind [options] litecoind [options]

34
doc/release-notes.md

@ -1,6 +1,6 @@
Bitcoin Core version 0.16.x is now available from: Bitcoin Core version 0.16.3 is now available from:
<https://bitcoincore.org/bin/bitcoin-core-0.16.x/> <https://bitcoincore.org/bin/bitcoin-core-0.16.3/>
This is a new minor version release, with various bugfixes This is a new minor version release, with various bugfixes
as well as updated translations. as well as updated translations.
@ -49,22 +49,42 @@ frequently tested on them.
Notable changes Notable changes
=============== ===============
(to be filled in) Denial-of-Service vulnerability
-------------------------------
0.16.x change log A denial-of-service vulnerability exploitable by miners has been discovered in
Bitcoin Core versions 0.14.0 up to 0.16.2. It is recommended to upgrade any of
the vulnerable versions to 0.16.3 as soon as possible.
0.16.3 change log
------------------ ------------------
(to be filled in) ### Consensus
- #14249 `696b936` Fix crash bug with duplicate inputs within a transaction (TheBlueMatt, sdaftuar)
### RPC and other APIs
- #13547 `212ef1f` Make `signrawtransaction*` give an error when amount is needed but missing (ajtowns)
### Miscellaneous
- #13655 `1cdbea7` bitcoinconsensus: invalid flags error should be set to `bitcoinconsensus_err` (afk11)
### Documentation
- #13844 `11b9dbb` correct the help output for -prune (hebasto)
Credits Credits
======= =======
Thanks to everyone who directly contributed to this release: Thanks to everyone who directly contributed to this release:
(to be filled in) - Anthony Towns
- Hennadii Stepanov
- Matt Corallo
- Suhas Daftuar
- Thomas Kerin
- Wladimir J. van der Laan
And to those that reported security issues: And to those that reported security issues:
(to be filled in) - beardnboobies
As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/). As well as everyone that helped translating on [Transifex](https://www.transifex.com/projects/p/bitcoin/).

2
src/validation.cpp

@ -3033,7 +3033,7 @@ bool CheckBlock(const CBlock& block, CValidationState& state, const Consensus::P
// Check transactions // Check transactions
for (const auto& tx : block.vtx) for (const auto& tx : block.vtx)
if (!CheckTransaction(*tx, state, false)) if (!CheckTransaction(*tx, state, true))
return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(), return state.Invalid(false, state.GetRejectCode(), state.GetRejectReason(),
strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), state.GetDebugMessage())); strprintf("Transaction check failed (tx hash %s) %s", tx->GetHash().ToString(), state.GetDebugMessage()));

13
test/functional/p2p_invalid_block.py

@ -98,7 +98,18 @@ class InvalidBlockRequestTest(ComparisonTestFramework):
assert(block2_orig.vtx != block2.vtx) assert(block2_orig.vtx != block2.vtx)
self.tip = block2.sha256 self.tip = block2.sha256
yield TestInstance([[block2, RejectResult(16, b'bad-txns-duplicate')], [block2_orig, True]]) yield TestInstance([[block2, RejectResult(16, b'bad-txns-duplicate')]])
# Check transactions for duplicate inputs
self.log.info("Test duplicate input block.")
block2_dup = copy.deepcopy(block2_orig)
block2_dup.vtx[2].vin.append(block2_dup.vtx[2].vin[0])
block2_dup.vtx[2].rehash()
block2_dup.hashMerkleRoot = block2_dup.calc_merkle_root()
block2_dup.rehash()
block2_dup.solve()
yield TestInstance([[block2_dup, RejectResult(16, b'bad-txns-inputs-duplicate')], [block2_orig, True]])
height += 1 height += 1
''' '''

Loading…
Cancel
Save