dcrd/internal
Dave Collins ac039fcacd
rpcserver: Correct known wallet method handling.
This corrects the code to return the expected RPC error in the case the
requested method is one known to be a wallet method or known to be
intentionally unimplemented.

Since dcrjson was updated to work with types instead of strings, parsing
a method that is not registered now fails, so the special error returns
are now handled there as opposed to the old approach of adding handlers
for certain method names which just returned the appropriate error.

This allows the standardCmdResult method to be simplified since it no
longer needs to include the logic for dealing with special handlers and
therefore it is updated accordingly.

Finally, the special handlers are removed since they are no longer
needed.
2020-10-13 14:13:43 -05:00
..
fees multi: Add decentralized treasury support. 2020-09-21 12:15:31 -05:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool mempool: Allow treasury txn vers as standard. 2020-10-12 21:13:21 -05:00
mining mining: Add ticket exhaustion check. 2020-10-05 19:29:28 -05:00
rpcserver rpcserver: Correct known wallet method handling. 2020-10-13 14:13:43 -05:00
version multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00