Currently we are getting average 0.000709s . Our code is on master branch commit 6a8b7c.
Is there anyway to further speed this up?
We need to generate thousand addresses in around 0.001-0.01s. Happy to sponsor the work required for this in BTC
import os
from pycoin.symbols.btc import network as BTC
os.environ["PYCOIN_NATIVE"]="openssl"
import time
key = BTC.parse("xpub661MyMwAqRbcFVF9ULcqLdsEa5WnCCugQAcgNd9iEMQ31tgH6u4"
"DLQWoQayvtSVYFvXz2vPPpbXE1qpjoUFidhjFj82pVShWu9curWmb2zy")
node1=key.subkey(0)
start_time = time.time()
count = 1000
for i in range(0, count):
node1 = key.subkey(i)
print("Average time for an address {}".format((time.time()-start_time)/count))
Currently we are getting average 0.000709s . Our code is on master branch commit 6a8b7c.
Is there anyway to further speed this up?
We need to generate thousand addresses in around 0.001-0.01s. Happy to sponsor the work required for this in BTC