Document the main proofofwork call

This commit is contained in:
Lee Miller 2024-10-24 21:24:54 +03:00
parent 64d73998c2
commit e90ba1e44a
Signed by: lee.miller
GPG Key ID: 4F97A5EA88F4AB63

View File

@ -50,5 +50,10 @@ def _worker(obj):
def do_pow_and_publish(obj): def do_pow_and_publish(obj):
"""
Start a worker thread, doing PoW for the given object
and putting a new object and its vector into appropriate places in `shared`
to advertize to the network.
"""
t = threading.Thread(target=_worker, args=(obj, )) t = threading.Thread(target=_worker, args=(obj, ))
t.start() t.start()