2

The source code here has a list of RPC commands and a "okSafeMode" parameter.

What is the purpose of this SafeMode and how does it affect the usage of the client?

1 Answer 1

1

When Bitcoin-Qt detects that something is seriously wrong with the network, it disables most RPC functionality in order to prevent automated Bitcoin sites from losing a lot of money due to network problems. (The okSafeMode functions are not disabled.) All versions since ~0.3 go into safe mode when the longest chain is invalid (illegal transaction, creating too much money, etc.). Upcoming versions will also go into safe mode when a large fork (valid or invalid) is in danger of overtaking the current chain.

1
  • I thought that the longest valid fork was in fact the "current chain". Commented Feb 5, 2020 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.