MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / get_spendable_output

Method get_spendable_output

test/functional/feature_block.py:1397–1399  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1395
1396 # get an output that we previously marked as spendable
1397 def get_spendable_output(self):
1398 self.log.debug(f"getting spendable output {self.spendable_outputs[0].vtx[0]}")
1399 return self.spendable_outputs.pop(0).vtx[0]
1400
1401 # move the tip back to a previous block
1402 def move_tip(self, number):

Callers 1

run_testMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected