Rename pow module to proofofwork

This commit is contained in:
Dmitri Bogomolov 2021-08-02 19:53:19 +03:00
parent 23d305bf15
commit a93c0f8417
Signed by untrusted user: g1itch
GPG Key ID: 720A756F18DEED13
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import random
import threading
import time
from . import pow, shared, structure
from . import proofofwork, shared, structure
from .connection import Connection
from .i2p import I2PDialer
@ -187,4 +187,4 @@ class Manager(threading.Thread):
b'\x00' * 8, int(time.time() + 2 * 3600),
shared.i2p_dest_obj_type, shared.i2p_dest_obj_version,
1, dest_pub_raw)
pow.do_pow_and_publish(obj)
proofofwork.do_pow_and_publish(obj)