-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Remove ENABLE_WALLET from libbitcoin_server.a #14168
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
Conversation
Removes the ifdef ENABLE_WALLET from init.cpp.
Strong Concept ACK |
0e7395d
to
9a2b3d2
Compare
Note to reviewers: This pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Yayyyy, good to see this finally happen |
utACK 9a2b3d2 - looks much cleaner 👍 |
utACK 9a2b3d2 |
src/wallet/init.cpp
Outdated
@@ -19,6 +19,9 @@ | |||
class WalletInit : public WalletInitInterface { | |||
public: | |||
|
|||
//! Is the wallet component enabled | |||
bool IsWalletEnabled() const override {return true;} |
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 say IsWalletCompiled()
or similar?
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.
My suggestion HasWalletSupport()
.
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.
Changed to HasWalletSupport()
9a2b3d2
to
7d038dc
Compare
Renamed function as suggested here: #14168 (comment) |
utACK 7d038dc |
utACK 7d038dc |
7d038dc [build] remove ENABLE_WALLET ifdef from httprpc.cpp (John Newbery) 3076556 [build] Move dummy wallet into its own .cpp file. (John Newbery) Pull request description: This removes the final instances of ENABLE_WALLET in libbitcoin_server and so completes bitcoin#7965. Tree-SHA512: a49128b7c17f4f69940d5843e6b785f08687efb377b5157d5b267d1205e596eb5c1966f1afb8ab36bcc2491c46252099e3e844c91f5623da8ded2e358d46338d
Summary: Backport of core [[bitcoin/bitcoin#14168 | PR14168]]. Depends on D5054. Test Plan: ninja all check make check cmake -GNinja .. -DBUILD_BITCOIN_WALLET=OFF ninja all check ../configure --disable-wallet make check Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5058
7d038dc [build] remove ENABLE_WALLET ifdef from httprpc.cpp (John Newbery) 3076556 [build] Move dummy wallet into its own .cpp file. (John Newbery) Pull request description: This removes the final instances of ENABLE_WALLET in libbitcoin_server and so completes bitcoin#7965. Tree-SHA512: a49128b7c17f4f69940d5843e6b785f08687efb377b5157d5b267d1205e596eb5c1966f1afb8ab36bcc2491c46252099e3e844c91f5623da8ded2e358d46338d # Conflicts: # src/init.cpp
7d038dc [build] remove ENABLE_WALLET ifdef from httprpc.cpp (John Newbery) 3076556 [build] Move dummy wallet into its own .cpp file. (John Newbery) Pull request description: This removes the final instances of ENABLE_WALLET in libbitcoin_server and so completes bitcoin#7965. Tree-SHA512: a49128b7c17f4f69940d5843e6b785f08687efb377b5157d5b267d1205e596eb5c1966f1afb8ab36bcc2491c46252099e3e844c91f5623da8ded2e358d46338d
This removes the final instances of ENABLE_WALLET in libbitcoin_server and so completes #7965.