aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.cpp
diff options
context:
space:
mode:
authorGregory Maxwell <[email protected]>2014-07-10 10:06:43 -0700
committerGregory Maxwell <[email protected]>2014-07-10 10:35:48 -0700
commitb60be6be4a87cfe10bc32aefd8327df6c23d46e0 (patch)
treed047560acd1508eefcdff1338f17e4e1b664fed6 /src/chainparamsbase.cpp
parentMerge pull request #4190 (diff)
downloaddiscoin-b60be6be4a87cfe10bc32aefd8327df6c23d46e0.tar.xz
discoin-b60be6be4a87cfe10bc32aefd8327df6c23d46e0.zip
Clean up RPCs that are disabled in safe-mode.
This removes some inconsistencies in what worked and didn't work in safemode. Now only RPCs involved in getting balances or sending funds are disabled. Previously you could mine but not submit blocks— but we may need more blocks to resolve a fork that triggered safe mode in the first place, and the non-submission was not reliable since some miners submit blocks via multiple means. There were also a number of random commands disabled that had nothing to do with the blockchain like verifymessage. Thanks to earlz for pointing out that there were some moderately cheap ways to maliciously trigger safe mode, which brought attention to the fact that safemode wasn't used in a very intelligent way.
Diffstat (limited to 'src/chainparamsbase.cpp')
0 files changed, 0 insertions, 0 deletions