-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backport missing PRs from Bitcoin 0.13 - Part 1 #1770
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.13 - Part 1 #1770
Conversation
aa3d93f to
2d81191
Compare
Got added due to wrong merge conflict resolution
f22f14c doc: mention bitcoin-cli -stdin in release notes (Wladimir J. van der Laan) 92bcca3 rpc: Input-from-stdin mode for bitcoin-cli (Wladimir J. van der Laan)
086ee67 Switch to a more efficient rolling Bloom filter (Pieter Wuille)
6e76587 rpc: remove cs_main lock from `createrawtransaction` (Wladimir J. van der Laan)
5e10922 Combine common error strings for different options so translations can be shared and reused (Luke Dashjr)
6cd198f Removed comment about IsStandard for P2SH scripts (Marcel Krüger)
8a7f000 [RPC] remove the option of having multiple timer interfaces (Jonas Schnelli) db198d5 Fix RPCTimerInterface ordering issue Dispatching a QThread from a non Qt thread is not allowed. Always use the HTTPRPCTimerInterface (non QT) to dispatch RPCRunLater threads. (Jonas Schnelli)
3a9dfe9 Fix typo, wrong information in gettxout help text. (paveljanik)
0331aa3 Fixing typos on security-check.py and torcontrol.cpp (calebogden)
fa074a6 [contrib] Prepare clang-format-diff for usage (MarcoFalke) fa4f4b6 Add clang-format-diff.py from the LLVM svn (MarcoFalke)
64360f1 Make max tip age an option instead of chainparam (Wladimir J. van der Laan)
da6d18b devtools: replace github-merge with python version (Wladimir J. van der Laan)
…n to wallet/ code dd2dc40 [RPC, Wallet] Move RPC dispatch table registration to wallet/ code (Jonas Schnelli)
96efcad Improved readability of sorting for coin selection. (Murch)
…eive coins table df6e8e1 [Qt] rename "amount" to "requested amount" in receive coins table (Jonas Schnelli)
2409865 Reduce inefficiency of GetAccountAddress() (Chris Moore)
e279038 Use createrawtx locktime parm in txn_clone (Tom Harding)
…hub-merge 17b5d38 devtools: show pull and commit information in github-merge (Wladimir J. van der Laan)
…extra whitespace 5ed2f16 [devtools] github-merge get toplevel dir without extra whitespace (Andrew C)
00eb70c to
38c12ff
Compare
|
I disabled check-doc.py on Travis for now. I'll fix errors reported by check-doc.py after all PRs have been merged. |
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.
Nice job! 👍
Few general comments:
- Technically, f840708 fixes the bug introduced in #888 and shouldn't be a part of this PR but ok, let's keep it;
- bitcoin#7583 is incomplete, changes in
doc/shared-libraries.mdare missing; - ba290c7 is weird - its content doesn't match the description (
Merge #7482: [P2P] Ensure headers count is correct) and it feels like it's a mix of two other PRs/commits.
- see inline comments
configure.ac
Outdated
| define(_COPYRIGHT_YEAR, 2017) | ||
| define(_COPYRIGHT_HOLDERS,[The %s developers]) | ||
| define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[Dash Core]) | ||
| AC_INIT([Dash Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[https://github.com/dashpay/dash/issues],[dashcore]) |
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.
Needs [https://dash.org/] like in original PR https://github.com/bitcoin/bitcoin/pull/7192/files#diff-67e997bcfdac55191033d57a16d1408aR11
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.
Fixed and squashed
contrib/macdeploy/custom_dsstore.py
Outdated
| alias.volume.name = package_name_ns | ||
| alias.volume.posix_path = '/Volumes/' + package_name_ns | ||
| alias.volume.disk_image_alias.target.filename = package_name_ns + '.temp.dmg' | ||
| alias.volume.disk_image_alias.target.carbon_path = 'Macintosh HD:Users:\x00bitcoinuser:\x00Documents:\x00bitcoin:\x00bitcoin:\x00' + package_name_ns + '.temp.dmg' |
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.
Lines 48, 49, 57 should probably be dashified
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.
Fixed and squashed
share/qt/Info.plist.in
Outdated
|
|
||
| <key>CFBundleGetInfoString</key> | ||
| <string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@, Copyright © 2009-@COPYRIGHT_YEAR@ The Bitcoin Core developers, 2014-@COPYRIGHT_YEAR@ The Dash Core developers</string> | ||
| <string>@CLIENT_VERSION_MAJOR@.@CLIENT_VERSION_MINOR@.@CLIENT_VERSION_REVISION@, Copyright © 2009-@COPYRIGHT_YEAR@ @COPYRIGHT_HOLDERS_FINAL@</string> |
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 keep Bitcoin Core copyright 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.
Fixed and squashed
src/clientversion.h
Outdated
|
|
||
| //! Copyright string used in Windows .rc files | ||
| #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " The Dash Core Developers" | ||
| #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL |
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 keep Bitcoin Core copyright 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.
Fixed and squashed
src/qt/res/dash-qt-res.rc
Outdated
| BEGIN | ||
| VALUE "CompanyName", "Dash" | ||
| VALUE "FileDescription", "Dash Core (GUI node for Dash)" | ||
| VALUE "FileDescription", PACKAGE_NAME " (GUI node for 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/
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.
Fixed and squashed
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.
utACK
dashpay#1770 - SPORK 17 - block time enforcement See merge request energi/dev/gen2/core/energi!333
This is the first batch of backported PRs from Bitcoin which are still missing in Dash.
I've got a total of ~780 PRs (including 0.13+0.14 PRs) in my local branches, so the amount of changed code is huge. I was thinking alot about how large the individual batches should be and decided to make them ~50 PRs per batch. This way we'll have around 16 huge PRs instead of hundreds of small ones. I understand that reviewing these batches will be hell, but having smaller batches won't really change the amount of work required and only prolong everything.
I've gone through all PRs and tried my best to omit PRs for features we do not want in Dash or which conflict with Dash specific features/changes. If I mistakenly included something that should have been omitted, please tell me and I remove these changes.
As the splitting of main.cpp->net_processing.cpp/validation.cpp was done out-of-order, I had to do a lot of manual copy+paste conflict resolution. This poses a high risk of loosing changes. My plan is to do a full-tree diff when all PRs are merged and if anything was lost, I'll hopefully catch it this way.