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

Method save_spendable_output

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

Source from the content-addressed store, hash-verified

1390
1391 # save the current tip so it can be spent by a later block
1392 def save_spendable_output(self):
1393 self.log.debug(f"saving spendable output {self.tip.vtx[0]}")
1394 self.spendable_outputs.append(self.tip)
1395
1396 # get an output that we previously marked as spendable
1397 def get_spendable_output(self):

Callers 1

run_testMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected