-
Notifications
You must be signed in to change notification settings - Fork 37.8k
MOVE ONLY: move rpc* to rpc/ #7348
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
What's up with |
@@ -198,7 +198,7 @@ extern UniValue estimatepriority(const UniValue& params, bool fHelp); | |||
extern UniValue estimatesmartfee(const UniValue& params, bool fHelp); | |||
extern UniValue estimatesmartpriority(const UniValue& params, bool fHelp); | |||
|
|||
extern UniValue getnewaddress(const UniValue& params, bool fHelp); // in rpcwallet.cpp | |||
extern UniValue getnewaddress(const UniValue& params, bool fHelp); // in rpc/wallet.cpp |
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.
There is no rpc/wallet.cpp
?!
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.
Indeed.
I wonder what the best course of action is here?
I'll probably just change that to wallet/rpcwallet.cpp
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.
#7307 would solve that.
But I agree, changing to wallet/rpcwallet.cpp
is probably fine for this PR.
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, my suggested fix too would b to just fix the comment
Nice! |
Concept ACK. Not that you moved it, but for completeness' sake: please leave rpcwallet.cpp in src/wallet. e.g. it is the RPC interface to the wallet. This, imo, logically belongs to the wallet: if there was a different wallet it could have a different RPC interface. |
@laanwj amended inline comment commit. Should be good to go.
Agreed. |
@dcousens Could you make the commits atomic, so that each of them compiles? |
@MarcoFalke rebased and fixed a bad path in Waiting on travis. |
Concept ACK 611508c |
Needs rebase after #7307 |
Rebased |
utACK d13f65e |
ACK https://github.com/dcousens/bitcoin/commit/d13f65ebac13ec18b7eb55176c31f1404f185c0c Header guards do not match now ( |
utACK d13f65e. |
nice |
RPC code refactor Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#7307 - bitcoin/bitcoin#7348 - bitcoin/bitcoin#7766
RPC code refactor Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#7307 - bitcoin/bitcoin#7348 - bitcoin/bitcoin#7766
RPC code refactor Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#7307 - bitcoin/bitcoin#7348 - bitcoin/bitcoin#7766
Was just playing around with the RPC, and found the constant prefixing of file names frustrating.
This also seems to be in line with the way other modules (
zmq
etc) have been grouped.Should be easy to review.
Note: This won't negatively impact git blame