Page MenuHomePhabricator

Added RPCServer class
AbandonedPublic

Authored by jasonbcox on Jul 26 2018, 17:45.

Details

Reviewers
deadalnix
schancel
Group Reviewers
Restricted Project
Summary

WIP towards building the new RPC system. This new class will allow us to register context-sensitive RPC commands. Some small notes were made in the comments regarding the migration, but actual code changes to start incorporating the RPCServer will occur in future diffs.

Depends on D1600.

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
rpcserver
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2973
Build 4044: Bitcoin ABC Buildbot (legacy)
Build 4043: arc lint + arc unit

Event Timeline

src/rpc/server.cpp
70

Note that this function (transformNamedArguments) was moved within this file without changes because RPCServer has it as a dependency. No changes were made to this function.

See notes in D1600. Planning changes so that RPCServer registers RPCCommandFactory(s) instead of RPCCommands directly.