-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Backport missing PRs from Bitcoin 0.14 - Part 2 #1842
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 2 #1842
Conversation
653bb3d Add copyright header to wallet_text_fixture.cpp (Wladimir J. van der Laan)
4207630 trivial: remove unused variable (Daniel Kraft)
7bd5ff4 Trivial: Fix two VarInt examples in serialize.h (Christian Barcenas)
c911035 Add default port numbers to REST doc (djpnewton)
fa1cf9e [test] Remove unused code (MarcoFalke)
… smart quotes) be1d451 contributing.md: Fix formatting (Will Binns)
2f32c82 [Qt] show network/chain errors in the GUI (Jonas Schnelli)
f13c1ba Move AdvertiseLocal debug output to net category (Michael Rotarius)
…request received with a hashStop of Null 259ee09 Show "end" instead of many zeros when getheaders request received with a hashStop of Null. (R E Broadley)
4c3e2cb Show XTHIN in GUI (R E Broadley)
fab5ecb [wallet] rpc: Drop misleading option (MarcoFalke)
fa6dc9f Remove unused variables (MarcoFalke)
…ase-process.md c25083b [trivial][doc] Mention gpg --refresh-keys in release-process.md (fanquake)
…in dev notes ab53207 [trivial][doc] Mention ++i as preferred to i++ in dev notes (fanquake)
ff8d279 Do not shadow member variables (Pavel Janík)
fa3d974 [doc] Update git-subtree-check.sh README (MarcoFalke)
fafe7b3 contrib: Make fix-copyright-headers.py more portable (MarcoFalke) fa27c0a [doc] Fix typos in comments, doxygen: Fix comment syntax (MarcoFalke) fabfd5d [qa] pull-tester: Don't mute zmq ImportError (MarcoFalke) 67a5502 init: Fix typo in help message for -whitelistforcerelay (Wladimir J. van der Laan)
…ursor beef966 [Wallet] remove unused code/conditions in ReadAtCursor (Jonas Schnelli)
…inux using 7zip and SleuthKit b729fcd Include instructions to extract Mac OS X SDK on Linux using 7zip and SleuthKit (Luke Dashjr)
fae6bb8 [doc] build: Mention curl (MarcoFalke)
…rpc-tests.py 1467561 [doc] - clarify statement about parallel jobs in rpc-tests.py (isle2983)
203f212 Reduce default number of blocks to check at startup (Pieter Wuille)
323a5fe Berkeley DB v6 compatibility fix (Alexey Vesnin)
fa994a7 contrib: Don't use shell=True (MarcoFalke)
3e7d2a2 [depends] Remove Qt46 package (Michael Ford)
Closes bitcoin#7595 as by removing the hardcoded version number from `verify.sh`.
…TP_BAD_REQUEST f012a85 rest.cpp: change HTTP_INTERNAL_SERVER_ERROR to HTTP_BAD_REQUEST (djpnewton)
854f1af Make the dummy argument to getaddednodeinfo optional (Pieter Wuille)
cdd79eb C++11: s/boost::scoped_ptr/std::unique_ptr/ (Jorge Timón)
b7c349d Do not shadow variables in networking code (Pavel Janík)
ff2ed7a trivial: remove unnecessary variable fDaemon (mruddy)
38acbf8 Remove unused Qt 4.6 patch. (Doug)
144ed76 Fix some locks (Pieter Wuille)
… test 426e7bc Fix obvious assignment/equality error in test (Jeremy Rubin)
df2d2e7 update name of file bitcoin.qrc (Gaurav Rana)
d6a5dc4 add waitfornewblock/waitforblock/waitforblockheight rpcs and use them for tests (Cory Fields)
878faac Add configure check for -latomic (Anthony Towns)
…t -Wshadow compiler warning. 125b946 Do not shadow upper local variable 'send', prevent -Wshadow compiler warning. (Pavel Janík)
…d vector ec81881 Performance Regression Fix: Pre-Allocate txChanged vector (Jeremy Rubin)
…eHash 2f2548d Fix SIGHASH_SINGLE bug in test_framework SignatureHash (Johnson Lau)
…autogenerated manpages d19583f improved gen-manpages.sh, includes bitcoin-tx and strips commit tag, now also runs binaries from build dir by default, added variables for more control (nomnombtc) 09546ca regenerated all manpages with commit tag stripped, also add bitcoin-tx (nomnombtc) ae6e754 change help string --enable-man to --disable-man (nomnombtc) a32c102 add conditional for --enable-man, default is yes (nomnombtc) dc84b6f add doc/man to subdir if configure flag --enable-man is set (nomnombtc) 00dba72 add doc/man/Makefile.am to include manpages (nomnombtc) eb5643b add autogenerated manpages by help2man (nomnombtc) 6edf2fd add gen-manpages.sh description to README.md (nomnombtc) d2cd9c0 add script to generate manpages with help2man (nomnombtc)
…MP before genesis 37aefff Fix init segfault where InitLoadWallet() calls ATMP before genesis (Matt Corallo)
| { | ||
| public: | ||
| HTTPRPCTimerInterface(struct event_base* base) : base(base) | ||
| HTTPRPCTimerInterface(struct event_base* _base) : base(_base) |
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.
It is not good style to use leading underscore, such names are reserved (https://stackoverflow.com/questions/228783/what-are-the-rules-about-using-an-underscore-in-a-c-identifier#228797, for example). We can use underscore at the end of the identifier instead (base_) or leave it as it is now, may be it is not really important for argument names.
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.
I actually believe that both (prefix and postfix underscores) are bad style ;) But that's unfortunately how it's done in Bitcoin. I'd prefer to stick 1:1 with what comes from the backports to avoid future merge conflicts. When we are at the point where we stop following Bitcoin (maybe after 0.15?), I'm fine with any type of refactorings that diverge from Bitcoin.
UdjinM6
left a comment
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.
Looks good 👍
contrib/verifybinaries/* files should probably be dashified too but they never were dashified before so can be done in a separate PR later.
Slightly tested ACK
Continuation of #1770