-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backport missing PRs from Bitcoin 0.14 - Part 6 #1852
Backport missing PRs from Bitcoin 0.14 - Part 6 #1852
Conversation
…able ff6639b Do not shadow local variable (Pavel Janík)
…th datadir e760b30 qt: Use correct conversion function for boost::path datadir (Wladimir J. van der Laan)
e89614b [qa] Add more helpful RPC timeout message (Russell Yanofsky) 8463aaa [qa] Increase wallet-dump RPC timeout (Russell Yanofsky)
… at process-time fe1dc62 Hash P2P messages as they are received instead of at process-time (Matt Corallo)
fa8278e test: Fix test_random includes (MarcoFalke)
…tions d59a518 Use fixed preallocation instead of costly GetSerializeSize (Pieter Wuille) 25a211a Add optimized CSizeComputer serializers (Pieter Wuille) a2929a2 Make CSerAction's ForRead() constexpr (Pieter Wuille) a603925 Avoid -Wshadow errors (Pieter Wuille) 5284721 Get rid of nType and nVersion (Pieter Wuille) 657e05a Make GetSerializeSize a wrapper on top of CSizeComputer (Pieter Wuille) fad9b66 Make nType and nVersion private and sometimes const (Pieter Wuille) c2c5d42 Make streams' read and write return void (Pieter Wuille) 50e8a9c Remove unused ReadVersion and WriteVersion (Pieter Wuille)
Also remove bogus "nVersion = this->nVersion" assignments. These were leftovers from old times.
This reverts commit fd5654c. This is still causing too many warnings for some compiler combinations, forget it for now.
d8edf03 Remove unused var UNLIKELY_PCT from fees.h (fanquake)
…ages e5d682f Fix mininode version message format (jnewbery)
bdcba6d Initialize variable to prevent compiler warning (Pavel Janík)
a79f864 fix getnettotals RPC description about timemillis. (Masahiko Hyuga)
7d1de30 Mention reporting security issues responsibly (Pavel Janík)
…hadow compiler warning bf49f10 Use better name for local variable to prevent -Wshadow compiler warning (Pavel Janík)
fa42e4a [qt] Make network disabled icon 50% opaque (MarcoFalke)
…ail cleanly b74ff5c Bugfix: Correctly replace generated headers and fail cleanly (Luke Dashjr)
20c3215 credit values are CAmount (Gregory Sanders)
fa80ef8 [qa] proxy_test: Calculate hardcoded port numbers instead (MarcoFalke)
… atomic 079142b fNetworkActive is not protected by a lock, use an atomic (Jonas Schnelli)
79f755d Unset fImporting for loading mempool (Alex Morcos)
…error message 307acdd [qa] add assert_raises_message to check specific error message (mrbandrews)
d8274bc Add compile and link options echo to configure (Jonas Schnelli)
12519bf test: Fix use-after-free in scheduler tests (Wladimir J. van der Laan)
b4e4ba4 Introduce convenience type CTransactionRef (Pieter Wuille) 1662b43 Make CBlock::vtx a vector of shared_ptr<CTransaction> (Pieter Wuille) da60506 Add deserializing constructors to CTransaction and CMutableTransaction (Pieter Wuille) 0e85204 Add serialization for unique_ptr and shared_ptr (Pieter Wuille)
…sion handshake is complete 4662553 net: don't send feefilter messages before the version handshake is complete (Cory Fields)
fa7cc5a Set DEFAULT_LIMITFREERELAY = 0 kB/minute (MarcoFalke)
…teration count e0a9cb2 bench: Fix subtle counting issue when rescaling iteration count (Wladimir J. van der Laan)
240189b add testcases for getrawtransaction (John Newbery) ce2bb23 getrawtransaction should take a bool for verbose (jnewbery)
2e44893 Move -salvagewallet, -zap(wtx) to where they belong (Jonas Schnelli)
4512550 Remove unnecessary calls to CheckFinalTx (Jonas Schnelli)
a33b169 Do not fully sort all nodes for addr relay (Pieter Wuille)
918b126 fix CreateTransaction error messages (instagibbs)
69bc8e7 [Doc] Move comments above bash command (Amir Abrams)
Bitcoin bitcoin#9145 made the icon 50% opaque, copy that to all themes.
1. Missing TX fees in some tests. No-fee transactions stopped working because the free TX relay was set to 0 2. rawtransaction tests used "hash" instead of "txid". "hash" is only valid if SegWit changes are included.
@@ -255,14 +255,18 @@ def __init__(self, num_tests_parallel, test_list=None, flags=None): | |||
self.test_list = test_list | |||
self.flags = flags | |||
self.num_running = 0 | |||
# In case there is a graveyard of zombie bitcoinds, we can apply a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we dashify bitcoinds
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We normally don't Dashify source comments. Only user facing strings and documentation is Dashified.
utACK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See inline comments.
Also, it looks like we missed few PRs for wallet-dump.py
, including its creation. Was this intentional (i.e. they are coming in future PRs) or by a mistake?
src/test/alert_tests.cpp
Outdated
@@ -8,7 +8,9 @@ | |||
#include "chain.h" | |||
#include "chainparams.h" | |||
#include "clientversion.h" | |||
namespace alert_tests { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks a bit awkward imo, it's probably better to just remove alert_tests::
in code below.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. It's this way because I aligned it with https://github.com/bitcoin/bitcoin/blob/master/src/bench/checkblock.cpp#L12
But I'll remove the namespace now.
src/chainparams.cpp
Outdated
@@ -57,7 +57,7 @@ static CBlock CreateDevNetGenesisBlock(const uint256 &prevBlockHash, const std:: | |||
genesis.nBits = nBits; | |||
genesis.nNonce = nNonce; | |||
genesis.nVersion = nVersion; | |||
genesis.vtx.push_back(txNew); | |||
genesis.vtx.push_back(MakeTransactionRef(txNew)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: add std::move
for consistency
.github/ISSUE_TEMPLATE.md
Outdated
|
||
General bitcoin questions and/or support requests and are best directed to the [Bitcoin StackExchange](https://bitcoin.stackexchange.com). | ||
General bitcoin questions and/or support requests and are best directed to the [Dashpay Reddit](https://www.reddit.com/r/dashpay/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/bitcoin/Dash/
.github/ISSUE_TEMPLATE.md
Outdated
@@ -1,10 +1,10 @@ | |||
<!--- Remove sections that do not apply --> | |||
|
|||
This issue tracker is only for technical issues related to bitcoin-core. | |||
This issue tracker is only for technical issues related to dash-core. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/dash-core/Dash Core/
.github/ISSUE_TEMPLATE.md
Outdated
@@ -23,7 +23,7 @@ Tell us what happens instead | |||
### Screenshots. | |||
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop. | |||
|
|||
### What version of bitcoin-core are you using? | |||
### What version of dash-core are you using? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/dash-core/Dash Core/
wallet-dump.py is on my extra list for HD wallet related PRs. I still have to figure out where our HD implementation came from and why it differs so much from what we have in Bitcoin. It looks like it had the same origins at some point but then diverged quite a lot. |
Pushed review fixes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
slightly tested ACK
Continuation of #1770