aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/params.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-05-16 18:56:41 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-05-16 22:58:02 -0700
commit4b62bdf5136c174621509bf7866fbd89b61cc66a (patch)
tree01a82019101ea3506ca91ad50026484fe1654102 /src/consensus/params.h
parent4cfe17c3382ba750131cdc8703b2978132822070 (diff)
Wallet: Refactor ReserveKeyFromKeyPool for safety
ReserveKeyFromKeyPool's previous behaviour is to set nIndex to -1 if the keypool is empty, OR throw an exception for technical failures. Instead, we now return false if the keypool is empty, true if the operation succeeded. This is to make failure more easily detectable by calling code.
Diffstat (limited to 'src/consensus/params.h')
0 files changed, 0 insertions, 0 deletions