had an idea for paying people to sort numbers.
to spend this you need to provide the indexes of numbers in sorted order.
what do you think of this
output:
00
00ff11
00ff12
00ff13
00ff18
00ff19
00ff20
00ff14
OP_FROMALTSTACK OP_PICK
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY
input:
01 OP_TOALTSTACK
02 OP_TOALTSTACK
03 OP_TOALTSTACK
00 OP_TOALTSTACK
04 OP_TOALTSTACK
05 OP_TOALTSTACK
06 OP_TOALTSTACK
had an idea for paying people to sort numbers.
to spend this you need to provide the indexes of numbers in sorted order.
what do you think of this
output:
00
00ff11
00ff12
00ff13
00ff18
00ff19
00ff20
00ff14
OP_FROMALTSTACK OP_PICK
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY OP_SWAP OP_DROP
OP_FROMALTSTACK 01 OP_ADD OP_PICK
OP_2DUP OP_LESSTHAN OP_VERIFY
input:
01 OP_TOALTSTACK
02 OP_TOALTSTACK
03 OP_TOALTSTACK
00 OP_TOALTSTACK
04 OP_TOALTSTACK
05 OP_TOALTSTACK
06 OP_TOALTSTACK