Skip to content

Conversation

@catbref
Copy link
Collaborator

@catbref catbref commented Jun 13, 2018

No description provided.

catbref added 2 commits June 13, 2018 07:52
See issue #97 and issue #98

For CLI mode, Controller was never started up and so Cli-originated requests would fail with "invalid command"
due to connection refused to non-existent RPC server. Now CLI is optionally started after main start.
CLI's "quit" command terminates both CLI mode AND causes the entire process to shutdown.

A couple of if-condition logic errors in ConnectionCreator meant that it wouldn't quickly shutdown
after ConnectionCreator.halt() was called. In addition there was no shortcut exit in ConnectionAcceptor
so this has been added. Lack of quick shutdown means either class would attempt to check peers against
blacklist, which in turn would mean MapDB access AFTER DB shutdown, which is a known cause of DB corruption.
Being able to view new peer version,
and with more DEBUG-level logging to Synchronizer,
should help track down any remaining peer/synchronization issues.
@catbref catbref merged commit 28474b1 into Qoracoin:master Jun 13, 2018
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

Successfully merging this pull request may close these issues.

1 participant