Merge remote-tracking branch 'origin/master' into 0.14

0.14 v0.14.2
shaolinfry 7 years ago
commit 7299f6dfa8

@ -130,7 +130,7 @@ pull requests which attempt to do too much, are overly large, or overly complex
as this makes review difficult. as this makes review difficult.
###Features ### Features
When adding a new feature, thought must be given to the long term technical debt When adding a new feature, thought must be given to the long term technical debt
and maintenance that feature may require after inclusion. Before proposing a new and maintenance that feature may require after inclusion. Before proposing a new
@ -139,7 +139,7 @@ maintain it (including bug fixing). If features get orphaned with no maintainer
in the future, they may be removed by the Repository Maintainer. in the future, they may be removed by the Repository Maintainer.
###Refactoring ### Refactoring
Refactoring is a necessary part of any software project's evolution. The Refactoring is a necessary part of any software project's evolution. The
following guidelines cover refactoring pull requests for the project. following guidelines cover refactoring pull requests for the project.
@ -187,7 +187,7 @@ other kinds of patches because of increased peer review and consensus building
requirements. requirements.
###Peer Review ### Peer Review
Anyone may participate in peer review which is expressed by comments in the pull Anyone may participate in peer review which is expressed by comments in the pull
request. Typically reviewers will review the code for obvious errors, as well as request. Typically reviewers will review the code for obvious errors, as well as

@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQINBFjCAtkBEADKSVwMdoPzhEoZocADNvVxkD3FHktkwy0CJzqfjxB8yr0vrppL
v9jta/xvb0eg58BXkxX3wkJ9o4XUEUqxwH4GLuvL4aDlbQbLgxxQ1PaQNhKTkVAh
2NG8cRX6BPqy46appqZTbK2oU5xkV6OCQZ4xEdBD2fRHE4ndfZIrzAbHRgl7c7eO
VXXh5GEjuMKeK8sOx9/KtBf0rqBdugEihoXojVmQJf/J7KmiKu1u6vLd3vnw/xnQ
OADUoMyWEu07l1dSPEIEQ0/Tdzkwk13QNcpAXBptl6cupt5c6D96mzMD+qYn105H
IN2QvSSol0Vx1uQ5qSVGE1oxu9kVZNpbtrNUSRc6DhAwGuzA5jRo2mjN5KATvEOo
NdOXfXgATMKsTikYwMulSgSFruJJAMKBiGSnf2hzPbMxxybFYHTnD5zA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nb4s8ZdNSE3tGpcWxDesk4wEKclSIeTaeeqvqpo3BbKy
4VmM4s323w8ViqB5IQjip/J8JA+YlG+sI1IsuZbuEvs4mb4DBHbQZyxgAp5Pwlni
B/SrbDNjAWRmTr7L3H5PxKsIxV+ARYS6p5vSptxxotViEQlKcSL4flxeg4W6RhBz
uKdSXlw32rxYA9ejel1Gm8wwUqRqb24Ntpw0ky1C4MTPV8shAYPlwZSm4YjHQ6xi
ac/mIDCXy2ESnwKWJGK8YMxIPWiqy36khN6qFzd8eZ/8T8y+3KBT561h4bt4UoUQ
aL6zFmltW6Ac/Wcz0/GX2BwOjozlbZQjba1ku6r7JBB/Z++xyCAw1NlhJuKGr5Ii
L3GQhtqZb+1qxg==
=/Urh
-----END PGP PUBLIC KEY BLOCK-----

@ -1,13 +1,13 @@
dist_man1_MANS= dist_man1_MANS=
if BUILD_BITCOIND if BUILD_BITCOIND
dist_man1_MANS+=bitcoind.1 dist_man1_MANS+=litecoind.1
endif endif
if ENABLE_QT if ENABLE_QT
dist_man1_MANS+=bitcoin-qt.1 dist_man1_MANS+=litecoin-qt.1
endif endif
if BUILD_BITCOIN_UTILS if BUILD_BITCOIN_UTILS
dist_man1_MANS+=bitcoin-cli.1 bitcoin-tx.1 dist_man1_MANS+=litecoin-cli.1 litecoin-tx.1
endif endif

@ -1,17 +1,17 @@
.\" 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.3.
.TH BITCOIN-CLI "1" "June 2017" "bitcoin-cli v0.14.2.0" "User Commands" .TH LITECOIN-CLI "1" "June 2017" "litecoin-cli v0.14.2.0" "User Commands"
.SH NAME .SH NAME
bitcoin-cli \- manual page for bitcoin-cli v0.14.2.0 litecoin-cli \- manual page for litecoin-cli v0.14.2.0
.SH DESCRIPTION .SH DESCRIPTION
Bitcoin Core RPC client version v0.14.2.0 Litecoin Core RPC client version v0.14.2.0
.SS "Usage:" .SS "Usage:"
.TP .TP
bitcoin\-cli [options] <command> [params] litecoin\-cli [options] <command> [params]
Send command to Bitcoin Core Send command to Litecoin Core
.IP .IP
bitcoin\-cli [options] \fB\-named\fR <command> [name=value] ... Send command to Bitcoin Core (with named arguments) litecoin\-cli [options] \fB\-named\fR <command> [name=value] ... Send command to Litecoin Core (with named arguments)
bitcoin\-cli [options] help List commands litecoin\-cli [options] help List commands
bitcoin\-cli [options] help <command> Get help for a command litecoin\-cli [options] help <command> Get help for a command
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
@ -20,7 +20,7 @@ This help message
.HP .HP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
.IP .IP
Specify configuration file (default: bitcoin.conf) Specify configuration file (default: litecoin.conf)
.HP .HP
\fB\-datadir=\fR<dir> \fB\-datadir=\fR<dir>
.IP .IP
@ -48,7 +48,7 @@ Send commands to node running on <ip> (default: 127.0.0.1)
.HP .HP
\fB\-rpcport=\fR<port> \fB\-rpcport=\fR<port>
.IP .IP
Connect to JSON\-RPC on <port> (default: 8332 or testnet: 18332) Connect to JSON\-RPC on <port> (default: 9332 or testnet: 19332)
.HP .HP
\fB\-rpcwait\fR \fB\-rpcwait\fR
.IP .IP
@ -72,10 +72,11 @@ Read extra arguments from standard input, one per line until EOF/Ctrl\-D
(recommended for sensitive information such as passphrases) (recommended for sensitive information such as passphrases)
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The Litecoin Core developers
Please contribute if you find Bitcoin Core useful. Visit Please contribute if you find Litecoin Core useful. Visit
<https://bitcoincore.org> for further information about the software. <https://litecoin.org> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>. The source code is available from <https://github.com/litecoin-project/litecoin>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING

@ -1,12 +1,12 @@
.\" 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.3.
.TH BITCOIN-QT "1" "June 2017" "bitcoin-qt v0.14.2.0" "User Commands" .TH LITECOIN-QT "1" "June 2017" "litecoin-qt v0.14.2.0" "User Commands"
.SH NAME .SH NAME
bitcoin-qt \- manual page for bitcoin-qt v0.14.2.0 litecoin-qt \- manual page for litecoin-qt v0.14.2.0
.SH DESCRIPTION .SH DESCRIPTION
Bitcoin Core version v0.14.2.0 (64\-bit) Litecoin Core version v0.14.2.0 (64\-bit)
Usage: Usage:
.IP .IP
bitcoin\-qt [command\-line options] litecoin\-qt [command\-line options]
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
@ -32,13 +32,13 @@ block hash)
If this block is in the chain assume that it and its ancestors are valid If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all, and potentially skip their script verification (0 to verify all,
default: default:
00000000000000000013176bf8d7dfeab4e1db31dc93bc311b436e82ab226b90, 1673fa904a93848eca83d5ca82c7af974511a7e640e22edc2976420744f2e56a,
testnet: testnet:
00000000000128796ee387cf110ccb9d2f36cffaf7f73079c995377c65ac0dcc) 43a16a626ef2ffdbe928f2bc26dcd5475c6a1a04f9542dfc6a0a88e5fcf9bd4c)
.HP .HP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
.IP .IP
Specify configuration file (default: bitcoin.conf) Specify configuration file (default: litecoin.conf)
.HP .HP
\fB\-datadir=\fR<dir> \fB\-datadir=\fR<dir>
.IP .IP
@ -58,7 +58,7 @@ Keep at most <n> unconnectable transactions in memory (default: 100)
.HP .HP
\fB\-maxmempool=\fR<n> \fB\-maxmempool=\fR<n>
.IP .IP
Keep the transaction memory pool below <n> megabytes (default: 300) Keep the transaction memory pool below <n> megabytes (default: 5)
.HP .HP
\fB\-mempoolexpiry=\fR<n> \fB\-mempoolexpiry=\fR<n>
.IP .IP
@ -77,7 +77,7 @@ leave that many cores free, default: 0)
.HP .HP
\fB\-pid=\fR<file> \fB\-pid=\fR<file>
.IP .IP
Specify pid file (default: bitcoind.pid) Specify pid file (default: litecoind.pid)
.HP .HP
\fB\-prune=\fR<n> \fB\-prune=\fR<n>
.IP .IP
@ -280,17 +280,17 @@ Set key pool size to <n> (default: 100)
.HP .HP
\fB\-fallbackfee=\fR<amt> \fB\-fallbackfee=\fR<amt>
.IP .IP
A fee rate (in BTC/kB) that will be used when fee estimation has A fee rate (in LTC/kB) that will be used when fee estimation has
insufficient data (default: 0.0002) insufficient data (default: 0.002)
.HP .HP
\fB\-mintxfee=\fR<amt> \fB\-mintxfee=\fR<amt>
.IP .IP
Fees (in BTC/kB) smaller than this are considered zero fee for Fees (in LTC/kB) smaller than this are considered zero fee for
transaction creation (default: 0.00001) transaction creation (default: 0.001)
.HP .HP
\fB\-paytxfee=\fR<amt> \fB\-paytxfee=\fR<amt>
.IP .IP
Fee (in BTC/kB) to add to transactions you send (default: 0.00) Fee (in LTC/kB) to add to transactions you send (default: 0.00)
.HP .HP
\fB\-rescan\fR \fB\-rescan\fR
.IP .IP
@ -389,12 +389,12 @@ Prepend debug output with timestamp (default: 1)
.HP .HP
\fB\-minrelaytxfee=\fR<amt> \fB\-minrelaytxfee=\fR<amt>
.IP .IP
Fees (in BTC/kB) smaller than this are considered zero fee for relaying, Fees (in LTC/kB) smaller than this are considered zero fee for relaying,
mining and transaction creation (default: 0.00001) mining and transaction creation (default: 0.001)
.HP .HP
\fB\-maxtxfee=\fR<amt> \fB\-maxtxfee=\fR<amt>
.IP .IP
Maximum total fees (in BTC) to use in a single wallet transaction or raw Maximum total fees (in LTC) to use in a single wallet transaction or raw
transaction; setting this too low may abort large transactions transaction; setting this too low may abort large transactions
(default: 0.10) (default: 0.10)
.HP .HP
@ -449,7 +449,7 @@ Set maximum size of high\-priority/low\-fee transactions in bytes
.HP .HP
\fB\-blockmintxfee=\fR<amt> \fB\-blockmintxfee=\fR<amt>
.IP .IP
Set lowest fee rate (in BTC/kB) for transactions to be included in block Set lowest fee rate (in LTC/kB) for transactions to be included in block
creation. (default: 0.00001) creation. (default: 0.00001)
.PP .PP
RPC server options: RPC server options:
@ -491,8 +491,8 @@ option can be specified multiple times
.HP .HP
\fB\-rpcport=\fR<port> \fB\-rpcport=\fR<port>
.IP .IP
Listen for JSON\-RPC connections on <port> (default: 8332 or testnet: Listen for JSON\-RPC connections on <port> (default: 9332 or testnet:
18332) 19332)
.HP .HP
\fB\-rpcallowip=\fR<ip> \fB\-rpcallowip=\fR<ip>
.IP .IP
@ -532,10 +532,11 @@ Show splash screen on startup (default: 1)
Reset all settings changed in the GUI Reset all settings changed in the GUI
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The Litecoin Core developers
Please contribute if you find Bitcoin Core useful. Visit Please contribute if you find Litecoin Core useful. Visit
<https://bitcoincore.org> for further information about the software. <https://litecoin.org> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>. The source code is available from <https://github.com/litecoin-project/litecoin>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING

@ -1,16 +1,16 @@
.\" 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.3.
.TH BITCOIN-TX "1" "June 2017" "bitcoin-tx v0.14.2.0" "User Commands" .TH LITECOIN-TX "1" "June 2017" "litecoin-tx v0.14.2.0" "User Commands"
.SH NAME .SH NAME
bitcoin-tx \- manual page for bitcoin-tx v0.14.2.0 litecoin-tx \- manual page for litecoin-tx v0.14.2.0
.SH DESCRIPTION .SH DESCRIPTION
Bitcoin Core bitcoin\-tx utility version v0.14.2.0 Litecoin Core litecoin\-tx utility version v0.14.2.0
.SS "Usage:" .SS "Usage:"
.TP .TP
bitcoin\-tx [options] <hex\-tx> [commands] litecoin\-tx [options] <hex\-tx> [commands]
Update hex\-encoded bitcoin transaction Update hex\-encoded litecoin transaction
.TP .TP
bitcoin\-tx [options] \fB\-create\fR [commands] litecoin\-tx [options] \fB\-create\fR [commands]
Create hex\-encoded bitcoin transaction Create hex\-encoded litecoin transaction
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
@ -108,10 +108,11 @@ set=NAME:JSON\-STRING
Set register NAME to given JSON\-STRING Set register NAME to given JSON\-STRING
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The Litecoin Core developers
Please contribute if you find Bitcoin Core useful. Visit Please contribute if you find Litecoin Core useful. Visit
<https://bitcoincore.org> for further information about the software. <https://litecoin.org> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>. The source code is available from <https://github.com/litecoin-project/litecoin>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING

@ -1,13 +1,13 @@
.\" 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.3.
.TH BITCOIND "1" "June 2017" "bitcoind v0.14.2.0" "User Commands" .TH LITECOIND "1" "June 2017" "litecoind v0.14.2.0" "User Commands"
.SH NAME .SH NAME
bitcoind \- manual page for bitcoind v0.14.2.0 litecoind \- manual page for litecoind v0.14.2.0
.SH DESCRIPTION .SH DESCRIPTION
Bitcoin Core Daemon version v0.14.2.0 Litecoin Core Daemon version v0.14.2.0
.SS "Usage:" .SS "Usage:"
.TP .TP
bitcoind [options] litecoind [options]
Start Bitcoin Core Daemon Start Litecoin Core Daemon
.SH OPTIONS .SH OPTIONS
.HP .HP
\-? \-?
@ -33,13 +33,13 @@ block hash)
If this block is in the chain assume that it and its ancestors are valid If this block is in the chain assume that it and its ancestors are valid
and potentially skip their script verification (0 to verify all, and potentially skip their script verification (0 to verify all,
default: default:
00000000000000000013176bf8d7dfeab4e1db31dc93bc311b436e82ab226b90, 1673fa904a93848eca83d5ca82c7af974511a7e640e22edc2976420744f2e56a,
testnet: testnet:
00000000000128796ee387cf110ccb9d2f36cffaf7f73079c995377c65ac0dcc) 43a16a626ef2ffdbe928f2bc26dcd5475c6a1a04f9542dfc6a0a88e5fcf9bd4c)
.HP .HP
\fB\-conf=\fR<file> \fB\-conf=\fR<file>
.IP .IP
Specify configuration file (default: bitcoin.conf) Specify configuration file (default: litecoin.conf)
.HP .HP
\fB\-daemon\fR \fB\-daemon\fR
.IP .IP
@ -63,7 +63,7 @@ Keep at most <n> unconnectable transactions in memory (default: 100)
.HP .HP
\fB\-maxmempool=\fR<n> \fB\-maxmempool=\fR<n>
.IP .IP
Keep the transaction memory pool below <n> megabytes (default: 300) Keep the transaction memory pool below <n> megabytes (default: 5)
.HP .HP
\fB\-mempoolexpiry=\fR<n> \fB\-mempoolexpiry=\fR<n>
.IP .IP
@ -82,7 +82,7 @@ leave that many cores free, default: 0)
.HP .HP
\fB\-pid=\fR<file> \fB\-pid=\fR<file>
.IP .IP
Specify pid file (default: bitcoind.pid) Specify pid file (default: litecoind.pid)
.HP .HP
\fB\-prune=\fR<n> \fB\-prune=\fR<n>
.IP .IP
@ -285,17 +285,17 @@ Set key pool size to <n> (default: 100)
.HP .HP
\fB\-fallbackfee=\fR<amt> \fB\-fallbackfee=\fR<amt>
.IP .IP
A fee rate (in BTC/kB) that will be used when fee estimation has A fee rate (in LTC/kB) that will be used when fee estimation has
insufficient data (default: 0.0002) insufficient data (default: 0.002)
.HP .HP
\fB\-mintxfee=\fR<amt> \fB\-mintxfee=\fR<amt>
.IP .IP
Fees (in BTC/kB) smaller than this are considered zero fee for Fees (in LTC/kB) smaller than this are considered zero fee for
transaction creation (default: 0.00001) transaction creation (default: 0.001)
.HP .HP
\fB\-paytxfee=\fR<amt> \fB\-paytxfee=\fR<amt>
.IP .IP
Fee (in BTC/kB) to add to transactions you send (default: 0.00) Fee (in LTC/kB) to add to transactions you send (default: 0.00)
.HP .HP
\fB\-rescan\fR \fB\-rescan\fR
.IP .IP
@ -394,12 +394,12 @@ Prepend debug output with timestamp (default: 1)
.HP .HP
\fB\-minrelaytxfee=\fR<amt> \fB\-minrelaytxfee=\fR<amt>
.IP .IP
Fees (in BTC/kB) smaller than this are considered zero fee for relaying, Fees (in LTC/kB) smaller than this are considered zero fee for relaying,
mining and transaction creation (default: 0.00001) mining and transaction creation (default: 0.00001)
.HP .HP
\fB\-maxtxfee=\fR<amt> \fB\-maxtxfee=\fR<amt>
.IP .IP
Maximum total fees (in BTC) to use in a single wallet transaction or raw Maximum total fees (in LTC) to use in a single wallet transaction or raw
transaction; setting this too low may abort large transactions transaction; setting this too low may abort large transactions
(default: 0.10) (default: 0.10)
.HP .HP
@ -454,7 +454,7 @@ Set maximum size of high\-priority/low\-fee transactions in bytes
.HP .HP
\fB\-blockmintxfee=\fR<amt> \fB\-blockmintxfee=\fR<amt>
.IP .IP
Set lowest fee rate (in BTC/kB) for transactions to be included in block Set lowest fee rate (in LTC/kB) for transactions to be included in block
creation. (default: 0.00001) creation. (default: 0.00001)
.PP .PP
RPC server options: RPC server options:
@ -496,8 +496,8 @@ option can be specified multiple times
.HP .HP
\fB\-rpcport=\fR<port> \fB\-rpcport=\fR<port>
.IP .IP
Listen for JSON\-RPC connections on <port> (default: 8332 or testnet: Listen for JSON\-RPC connections on <port> (default: 9332 or testnet:
18332) 19332)
.HP .HP
\fB\-rpcallowip=\fR<ip> \fB\-rpcallowip=\fR<ip>
.IP .IP
@ -511,10 +511,11 @@ option can be specified multiple times
Set the number of threads to service RPC calls (default: 4) Set the number of threads to service RPC calls (default: 4)
.SH COPYRIGHT .SH COPYRIGHT
Copyright (C) 2009-2017 The Bitcoin Core developers Copyright (C) 2009-2017 The Bitcoin Core developers
Copyright (C) 2011-2017 The Litecoin Core developers
Please contribute if you find Bitcoin Core useful. Visit Please contribute if you find Litecoin Core useful. Visit
<https://bitcoincore.org> for further information about the software. <https://litecoin.org> for further information about the software.
The source code is available from <https://github.com/bitcoin/bitcoin>. The source code is available from <https://github.com/litecoin-project/litecoin>.
This is experimental software. This is experimental software.
Distributed under the MIT software license, see the accompanying file COPYING Distributed under the MIT software license, see the accompanying file COPYING

@ -17,6 +17,9 @@ namespace block_bench {
// a block off the wire, but before we can relay the block on to peers using // a block off the wire, but before we can relay the block on to peers using
// compact block relay. // compact block relay.
// Litecoin uses block height 878439, hash 0babe680f55a55d54339511226755f0837261da89a4e78eba4d6436a63026df8
// which contains 3808 transactions.
static void DeserializeBlockTest(benchmark::State& state) static void DeserializeBlockTest(benchmark::State& state)
{ {
CDataStream stream((const char*)block_bench::block413567, CDataStream stream((const char*)block_bench::block413567,

Binary file not shown.

@ -76,7 +76,8 @@ unsigned int CalculateNextWorkRequired(const CBlockIndex* pindexLast, int64_t nF
bnNew.SetCompact(pindexLast->nBits); bnNew.SetCompact(pindexLast->nBits);
bnOld = bnNew; bnOld = bnNew;
// Litecoin: intermediate uint256 can overflow by 1 bit // Litecoin: intermediate uint256 can overflow by 1 bit
bool fShift = bnNew.bits() > 235; const arith_uint256 bnPowLimit = UintToArith256(params.powLimit);
bool fShift = bnNew.bits() > bnPowLimit.bits() - 1;
if (fShift) if (fShift)
bnNew >>= 1; bnNew >>= 1;
bnNew *= nActualTimespan; bnNew *= nActualTimespan;
@ -84,7 +85,6 @@ unsigned int CalculateNextWorkRequired(const CBlockIndex* pindexLast, int64_t nF
if (fShift) if (fShift)
bnNew <<= 1; bnNew <<= 1;
const arith_uint256 bnPowLimit = UintToArith256(params.powLimit);
if (bnNew > bnPowLimit) if (bnNew > bnPowLimit)
bnNew = bnPowLimit; bnNew = bnPowLimit;

Loading…
Cancel
Save