Add a Startup Timer feature (scheduled start / dead man's switch)

This commit is contained in:
Miguel Jacq 2019-03-05 10:28:27 +11:00
parent d86b13d91c
commit 26d262ccfc
16 changed files with 326 additions and 34 deletions

View file

@ -30,9 +30,10 @@ class MyOnion:
self.auth_string = 'TestHidServAuth'
self.private_key = ''
self.stealth = stealth
self.scheduled_key = None
@staticmethod
def start_onion_service(_):
def start_onion_service(self, await_publication=True, save_scheduled_key=False):
return 'test_service_id.onion'