-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backport missing PRs from Bitcoin 0.14 - Part 4 #1849
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 4 #1849
Conversation
94a34a5 Fix relaypriority calculation error (maiiz)
…)SIG e41bd44 Add policy: null signature for failed CHECK(MULTI)SIG (Johnson Lau)
…w 0 fee fa4bfb4 [wallet, policy] ParameterInteraction: Don't allow 0 fee (MarcoFalke)
…en service ac01ff2 doc: Add privacy recommendation when running hidden service (Wladimir J. van der Laan)
5776e8a [depends] Fix Qt compilation with Xcode 8 (fanquake)
… read fa05cfd [rpc] throw JSONRPCError when utxo set can not be read (MarcoFalke)
…t timeouts a0f8482 [qa] Split up slow RPC calls to avoid pruning test timeouts (Suhas Daftuar)
64d9507 [WIP] Remove unused statement in serialization (Pavel Janík)
fa9cd25 [qa] blockstore: Switch to dumb dbm (MarcoFalke)
7e5fd71 Do not include env_win.cc on non-Windows systems (Pavel Janík)
…g text files 30930e8 test: Explicitly set encoding to utf8 when opening text files (Wladimir J. van der Laan)
1d28faf test: Avoid ConnectionResetErrors during RPC tests (Wladimir J. van der Laan)
54e5d7c Add bitcoin-tx JSON tests (jnewbery)
…le is empty da94697 bitcoin-util-test.py should fail if the output file is empty (jnewbery)
…ually b82f493 Add option to run bitcoin-util-test.py manually (jnewbery)
a92bf4a bitcoind: Daemonize using daemon(3) (Matthew King)
203e2dd Mention Gitian building script in doc. (Lauda)
fa66609 [qa] mininode: Only allow named args in wait_until (MarcoFalke)
fa7c35c [qa] util: Move wait_bitcoinds() into stop_nodes() (MarcoFalke)
…e from global mapArgs 3450c18 Globals: Decouple GetConfigFile and ReadConfigFile from global mapArgs (Jorge Timón)
…quested disconnect 905bc68 net: fix a few cases where messages were sent rather than dropped upon disconnection (Cory Fields)
eeeebdd [doc] Rework docs (MarcoFalke)
…neheight is the lowest, not highest, block a78e542 Bugfix: Trivial: RPC: getblockchaininfo help: pruneheight is the lowest, not highest, block (Luke Dashjr)
7d8afb4 [Doc] Improve GitHub issue template (fanquake)
…ld instructions. 2920be2 Update INSTALL landing redirection notice for build instructions. (randy-waterhouse)
621441a add verbose mode to bitcoin-util-test.py (jnewbery)
3f92bc9 doc: Add build instructions for FreeBSD (Wladimir J. van der Laan)
b0aea80 Sync bitcoin-tx with tx version policy (BtcDrak)
…eDeprecatedFieldRPC b26a7b5 RPC: Chainparams: Remove Chainparams::fTestnetToBeDeprecatedFieldRPC (Jorge Timón)
7c1716f Documentation for Building on Windows with WSL (poole_party)
5eaaa83 Kill insecure_random and associated global state (Wladimir J. van der Laan)
aa9d3c9 add software-properties-common (Steven)
… builds 83c0f7f trivial: update 0.13.0 release note info on linux arm builds (mruddy)
fab5ca8 contrib: Add README for pgp keys (MarcoFalke)
9fce062 [c++11] Use std::unique_ptr for block creation. (Daniel Kraft)
164196b Simple Update to File 'bitcoin-qt.desktop' (matthias)
5805ac8 Add preciousblock tests (Pieter Wuille) 5127c4f Add preciousblock RPC (Pieter Wuille)
18dacf9 Add microbenchmarks to profile more code paths. (Russell Yanofsky)
...due to out-of-order backporting of per-UTXO.
b55d823 Explicitly state that PPA is for Ubuntu only (anduck)
a1919ad Report NodeId in misbehaving debug (R E Broadley)
| if (sid < 0) | ||
| fprintf(stderr, "Error: setsid() returned %d errno %d\n", sid, errno); | ||
| #else | ||
| fprintf(stderr, "Error: -daemon is not supported on this operating system\n"); |
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.
Now I'm getting this error on Ubuntu 17. I'm trying to understand details now, but it looks like a problem
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.
Make sure to make clean && ./autogen.sh
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.
Yes, I'm sorry, it's my error, I've missed autogen.sh.
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.
👍
As for changes: doc/release-process.md misses
+* Update [`BLOCK_CHAIN_SIZE`](/src/qt/intro.cpp) to the current size plus some overhead.
from 8879 + see inline comments
| @@ -1,3 +1,7 @@ | |||
| # Copyright (c) 2013-2016 The Bitcoin Core developers | |||
| # Distributed under the MIT software license, see the accompanying | |||
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.
Most Makefiles (besides probably src/Makefile.leveldb.include) are modified by us already, so we should probably add a // Copyright (c) 2014-2017 The Dash Core developers line as well (note: this comment applies to files modified in a26bad0).
INSTALL.md
Outdated
| @@ -0,0 +1,5 @@ | |||
| Building Bitcoin | |||
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 Core/
INSTALL.md
Outdated
| ================ | ||
|
|
||
| See doc/build-*.md for instructions on building the various | ||
| elements of the Bitcoin Core reference implementation of Bitcoin. |
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/
doc/build-unix.md
Outdated
| This will give a warning "configure: WARNING: Found Berkeley DB other | ||
| than 4.8; wallets opened by this build will not be portable!", but as FreeBSD never | ||
| had a binary release, this may not matter. If backwards compatibility | ||
| with 4.8-built Bitcoin Core is needed follow the steps under "Berkeley DB" above. |
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/
| * This class is not thread-safe. | ||
| */ | ||
| void seed_insecure_rand(bool fDeterministic = false); | ||
| class FastRandomContext { |
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.
FastRandomContext is basically a clone of InsecureRand which was implemented in Dash earlier. I think it makes sense to s/InsecureRand/FastRandomContext/ elsewhere in code and drop InsecureRand in random.h/cpp now.
src/test/data/bitcoin-util-test.json
Outdated
| @@ -1,37 +1,73 @@ | |||
| [ | |||
| { "exec": "././dash-tx", | |||
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-tx"/"./dash-tx"/
|
@UdjinM6 Regarding the missing change in doc/release-process.md, I've omitted quite a lot in release-process.md as it has diverged much from Bitcoin (partly due to custom changes, partly due to out of order backporting). I have an item on my TODO to go through the release-process.md when I reach Bitcoin 0.15 to compare and finally add all missing stuff. Same with some other documentation. Working on the other stuff now. |
Also extend FastRandomContext to be compatible to existing uses, especially with std::random_shuffle
|
Fixed review comments |
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