Function spendable
Takes a block object and filters the payment outputs
into a range of TxBuilder
objects.
std .algorithm .iteration .joiner!(std.algorithm.iteration.MapResult!(agora.utils.Test.spendable(refconst(agora.consensus.data.Block.Block)).__lambda3,std.algorithm.iteration.FilterResult!(agora.utils.Test.spendable(refconst(agora.consensus.data.Block.Block)).__lambda2,const(agora.consensus.data.Transaction.Transaction)[]).FilterResult).MapResult) spendable
(
ref const(Block) block
);
Note that the outputs may not be spendable anymore if other blocks have been externalized after this block.
Parameters
Name | Description |
---|---|
block | a Block object |
Returns
A range of TxBuilder
s which reference each Payment output of
the input block