MCPcopy Create free account
hub / github.com/ElementsProject/elements / make_addr

Method make_addr

test/functional/wallet_taproot.py:220–224  ·  view source on GitHub ↗
(treefn, keys, i)

Source from the content-addressed store, hash-verified

218
219 @staticmethod
220 def make_addr(treefn, keys, i):
221 args = []
222 for j in range(len(keys)):
223 args.append(keys[j]['pubs'][i])
224 return compute_taproot_address(*treefn(*args))
225
226 def do_test_addr(self, comment, pattern, privmap, treefn, keys):
227 self.log.info("Testing %s address derivation" % comment)

Callers 3

do_test_addrMethod · 0.95
do_test_sendtoaddressMethod · 0.95
do_test_psbtMethod · 0.95

Calls 1

compute_taproot_addressFunction · 0.85

Tested by

no test coverage detected