aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/util.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2019-02-27 13:45:47 -0800
committerPieter Wuille <pieter.wuille@gmail.com>2019-02-28 13:00:13 -0800
commit6b9f45e81bfe7472493b6df66133c929780ef2fb (patch)
tree65fbf15c855f34860d2f7e653210b0a0da4c4074 /src/rpc/util.h
parent7aa6a8aefbb2013ef3dc87ecbdf5d947d4b413af (diff)
downloadbitcoin-6b9f45e81bfe7472493b6df66133c929780ef2fb.tar.xz
Support ranges arguments in RPC help
Diffstat (limited to 'src/rpc/util.h')
-rw-r--r--src/rpc/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h
index f11998bafa..f1bd2c89df 100644
--- a/src/rpc/util.h
+++ b/src/rpc/util.h
@@ -51,6 +51,7 @@ struct RPCArg {
OBJ_USER_KEYS, //!< Special type where the user must set the keys e.g. to define multiple addresses; as opposed to e.g. an options object where the keys are predefined
AMOUNT, //!< Special type representing a floating point amount (can be either NUM or STR)
STR_HEX, //!< Special type that is a STR with only hex chars
+ RANGE, //!< Special type that is a NUM or [NUM,NUM]
};
enum class Optional {