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

Method getwtxid

test/functional/test_framework/messages.py:881–882  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

879 return self.serialize_without_witness()
880
881 def getwtxid(self):
882 return hash256(self.serialize())[::-1].hex()
883
884 # Recalculate the txid (transaction hash without witness)
885 def rehash(self):

Callers 9

run_testMethod · 0.95
test_standardness_v0Method · 0.95
test_p2sh_witnessMethod · 0.95
run_testMethod · 0.80
test_independentMethod · 0.80
test_chainMethod · 0.80
test_conflictingMethod · 0.80
test_rbfMethod · 0.80
run_testMethod · 0.80

Calls 3

serializeMethod · 0.95
hexMethod · 0.80
hash256Function · 0.70

Tested by 6

test_standardness_v0Method · 0.76
test_p2sh_witnessMethod · 0.76
test_independentMethod · 0.64
test_chainMethod · 0.64
test_conflictingMethod · 0.64
test_rbfMethod · 0.64