All shortsSurprise me
Play video: What loops unlock for Bitcoin Cash

What loops unlock for Bitcoin Cash

Watch on YouTube (opens in a new tab)
Event
BCH Bliss 2026
Published
Length

Transcript

Loops in particular also gives us the ability to aggregate in ways we couldn't aggregate before, and that is important because now we can have dynamic transaction sizes with different number of inputs and outputs, and our code can cleanly handle the situation no matter if it's 17 or three. And that kind of aggregation opens up some opportunities, like you can build things with it that you couldn't really build before, because you were constrained to: okay, since I can't loop over the outputs, I have to assume a certain number of outputs exist, and if there's fewer than that output, I fail. If there's more than that output, I fail. But with loops, that is now opened up.