diff --git a/.gitignore b/.gitignore index 3c70da06..6edc23ff 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ run.sh onionr/data-encrypted.dat onionr/.onionr-lock core +.vscode/* diff --git a/onionr/communicator2.py b/onionr/communicator2.py index ccddc1cf..e726d46b 100755 --- a/onionr/communicator2.py +++ b/onionr/communicator2.py @@ -63,6 +63,7 @@ class OnionrCommunicatorDaemon: OnionrCommunicatorTimers(self, self.getOnlinePeers, 60) OnionrCommunicatorTimers(self, self.lookupBlocks, 7) OnionrCommunicatorTimers(self, self.getBlocks, 10) + #TODO: sync keys/peers # Main daemon loop, mainly for calling timers, do not do any complex operations here while not self.shutdown: diff --git a/onionr/core.py b/onionr/core.py index 91d72e7e..1d0cc6b7 100644 --- a/onionr/core.py +++ b/onionr/core.py @@ -722,8 +722,6 @@ class Core: powToken = powToken.decode() except AttributeError: pass - finally: - break # compile metadata metadata['meta'] = jsonMeta