-
Notifications
You must be signed in to change notification settings - Fork 725
[RPC] Register calls where they are defined #1720
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
b33ae32 to
acc8345
Compare
|
Ah crap. Suggestion on easy fix? I am not the best with rebasing/squashing |
|
|
Did exactly that and it reverting the changes....? |
905873a to
18de09a
Compare
|
Alright I got it. |
82387d9 to
b3ca506
Compare
|
I will rebase removing the #1702 commits. As far as the tests go I have to look and see what specifically failed not familiar with your full test suite. Might be some ifdefs from the refactoring missed. Thanks for the rebasing assistance. |
|
@Liquid369 you can check the tests locally, launching the individual test files (from the |
92872c5 to
04fdc02
Compare
|
hey, this needs a rebase. |
|
I plan on finishing, this week I just started getting back into things after the baby. I can rebase off current master? Or should I rebase the prior PR specifically, master should work since merged? Will try to start today/tomorrow on the rebase and get PR updated. |
962c758 to
04fdc02
Compare
a4fa172 to
23b0003
Compare
|
tried rebasing only messing it up more. |
903b618 Mark findserial and getserials as zerocoin commands (Fuzzbawls) 83dfeaf Refactor: Split up the "pivx" RPC command category (Fuzzbawls) 577414b Refactor: Hide testing-only RPC commands (Fuzzbawls) a876068 Refactor: Move getstakingstatus to rpcwallet.cpp (Fuzzbawls) d25ab83 Refactor: Extract zpiv RPC commands out of rpcwallet (Fuzzbawls) 94eb34b [RPC] Register calls where they are defined (Fuzzbawls) Pull request description: Revives/replaces #1720, backporting bitcoin#7766. Split out methods to every module, apart from 'help' and 'stop' which are implemented in rpcserver.cpp itself. - This makes it easier to add or remove RPC commands - no longer everything that includes rpcserver.h has to be rebuilt when there's a change there. - Cleans up `rpc/server.h` by getting rid of the huge cluttered list of function definitions. - Move zPIV RPC commands to their own file - Move `getstakingstatus` to the more appropriate `rpcwallet.cpp` - Hide commands intended for testing environments only - Split up the ambiguous "pivx" command category ACKs for top commit: furszy: looking good, travis is still running but utACK 903b618. random-zebra: utACK 903b618 and merging... Tree-SHA512: 84f3340efb6081501277883d3ca10f0c9aff8dbe68859a05bd082471b9a311e834670ab6e773a04e7ecfa665d75f3632e9f66062e65b5a5440b098fef7da2016
|
Replaced by #1926 |
Follow up to PR #1702
This time it was based off the #1702 branch so it is compiling now.
Bitcoin backport bitcoin#7766
Splitting out registration methods from rpcserver.cpp.
Making for easier RPC command additions and not needing to rebuild everything in rpcserver.h includes.
Split most functions to their respective files,
PIVX specific masternode/budget commands are moved to respective
rpc/masternode.cpp
rpc/budget.cpp
Test functions are now included.
Closing #1714
I believe this is neater and done properly, sorry GIT is a pain sometimes.
EDIT: I see 5 commits urgh, rebase? or.. not sure. I apologize.