Page MenuHomePhabricator

rpc: Validate provided keys for query_options parameter in listunspent
ClosedPublic

Authored by PiRK on Sep 16 2021, 11:56.

Details

Summary

With this change listunspent will throw an error if there is a wrong key
in the query_option object.

Signed-off-by: pasta <pasta@dashboost.org>

Comment by @MarcoFalke:

RPCman will do this in the future, but nothing wrong adding something like that in the meantime

This is a backport of core#19169

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable