Copy the relevant Bitcoin RPC code into rpc/. This will cascade into dependencies so if the job is not feasible to do we will notice it here.
Gridcoin RPC isolation
With the new RPC engine in place we can migrate our Gridcoin specific calls from the old RPC files under src/rpc* to files following the Bitcoin naming convention under src/gridcoin/rpc/. We can and should be liberal with axing calls which are unused or obsolete calls which can be done by external scripts using existing calls.
RPC table injection
Bitcoin calls RegisterAllCoreRPCCommands during initialization to register the RPC functions. At the end of this we should include a call to RegisterGridcoinRPCCommands which is implemented in gridcoin/rpc/register.h and follows the same pattern but only injects Gridcoin specific commands.
Copy Bitcoin code
Copy the relevant Bitcoin RPC code into
rpc/
. This will cascade into dependencies so if the job is not feasible to do we will notice it here.Gridcoin RPC isolation
With the new RPC engine in place we can migrate our Gridcoin specific calls from the old RPC files under
src/rpc*
to files following the Bitcoin naming convention undersrc/gridcoin/rpc/
. We can and should be liberal with axing calls which are unused or obsolete calls which can be done by external scripts using existing calls.RPC table injection
Bitcoin calls
RegisterAllCoreRPCCommands
during initialization to register the RPC functions. At the end of this we should include a call toRegisterGridcoinRPCCommands
which is implemented ingridcoin/rpc/register.h
and follows the same pattern but only injects Gridcoin specific commands.