24
17
The Bitcoin wiki describes a transaction's script as something that describes "how the next person wanting to spend the Bitcoins being transferred can gain access to them".
The script for "a typical Bitcoin transfer to destination Bitcoin address D" is described as requiring of the future spender:
- a public key that, when hashed, yields destination address D embedded in the script, and
- a signature to show evidence of the private key corresponding to the public key just provided.
What useful alternative scripts could be made? What practical situations would they serve, and what client features would be required to support them?
Thanks for the detailed reply. Apologies for not reading the wiki page more carefully, as I scrolled down I thought it was pure technical description and I zoned out! But your summary is terser and more accessible than the wiki content. – Ash Moran – 2011-09-04T21:17:55.033