diff options
| author | Pieter Wuille <[email protected]> | 2019-02-27 13:45:47 -0800 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2019-02-28 13:00:13 -0800 |
| commit | 6b9f45e81bfe7472493b6df66133c929780ef2fb (patch) | |
| tree | 65fbf15c855f34860d2f7e653210b0a0da4c4074 /src/rpc/util.h | |
| parent | Add ParseRange function to parse args of the form int/[int,int] (diff) | |
| download | discoin-6b9f45e81bfe7472493b6df66133c929780ef2fb.tar.xz discoin-6b9f45e81bfe7472493b6df66133c929780ef2fb.zip | |
Support ranges arguments in RPC help
Diffstat (limited to 'src/rpc/util.h')
| -rw-r--r-- | src/rpc/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/util.h b/src/rpc/util.h index f11998baf..f1bd2c89d 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 { |