The following script allows everyone to spend; the shorter your signature the earlier you can spend.
OP_SIZE
OP_CHECKSEQUENCEVERIFY OP_DROP
OP_CHECKSIGVERIFY
The point R = 1/2 G
has the smallest known x
coordinate -- x = 0x3b78ce563f89a0ed9414f5aa28ad0d96d6795f9c63
. If the public key is chosen P = 1 G
then the ECDSA signature becomes s=2(H(m)+x)
. So, the smaller H(m)
the smaller s
(as long as it is bigger than x ~ 2^165
). Thus, the above output is spendable by the miner mining the lowest TX hash.
This blog post calculates the exact probability distribution for bitcoin ecdsa signature lengths (disclaimer: calculations not verified, but they seem reasonable). Such a probability distribution could be used as a means to calibrate for a targeted minimum amount of work.
If Alice creates an output like what is contemplated here, she can set the work target.
An interesting idea is that Alice could actually timelock the output in a variable manner by making the timelock a function of the signature length of the spending transaction. Longer signature length implies less work, which could be counter-balanced with a longer timelock.