Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle bitcoind Safe Mode #18

Open
wtogami opened this issue May 4, 2014 · 2 comments
Open

Handle bitcoind Safe Mode #18

wtogami opened this issue May 4, 2014 · 2 comments
Assignees

Comments

@wtogami
Copy link
Collaborator

wtogami commented May 4, 2014

23:57:02 web.1  | ===========================
23:57:02 web.1  | Processing Last Block: 0000000073ec735fc882d79b1020fe8ea788a20be29edb8de156513ae1bb0d61
23:57:02 web.1  | ===========================
23:57:02 web.1  | [SyntaxError: Unexpected token S]
23:57:02 web.1  | Error: Last block may have been corrupted. Bitcoind may be out of sync with network.
23:57:02 web.1  | [SyntaxError: Unexpected token S]
23:57:02 web.1  | Error parsing transaction from body: Safe mode: Warning: The network does not appear to fully agree! Some miners appear to be experiencing issues. [Host: 127.0.0.1:18332 User:QmHJG1jkmSnhYME Using password:yes]. Code:-2

In this rare event Baron needs to know to stop asking for payments until things return to normal. Baron should refuse to show new payment addresses and instead print an error something like, "Temporary Downtime. Bitcoin is currently in safe mode. Please contact the system administrator."

@wtogami
Copy link
Collaborator Author

wtogami commented May 5, 2014

Along the same lines as this, Baron should also use alertnotify. Upon receiving any alert, it should stop asking for any payments until the alert is gone from getinfo.

@wtogami
Copy link
Collaborator Author

wtogami commented May 5, 2014

bitcoind has the -testsafemode option. Please use that once so you obtain the safe mode error message.

@wtogami wtogami self-assigned this May 20, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant