public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [Bitcoin-development] Serialised P2SH HD chains
@ 2014-12-04 15:42 Luke Dashjr
  2014-12-04 16:46 ` Gavin Andresen
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Luke Dashjr @ 2014-12-04 15:42 UTC (permalink / raw)
  To: Bitcoin Dev

Is anyone working on a serialisation format to convey P2SH HD chains? For 
example, to give someone who wants to make recurring payments a single token 
that can be used to generate many P2SH addresses paying to a multisig script.

I'm thinking of something along the lines of a simple series of tokens, each 
indicating either a HD chain or literal script content. For all HD chains in 
the data, a child key would be generated based on the payment number, and all 
tokens concatenated to form the P2SH serialised script. Eg, for a simple 2-
of-2, you would do something like this:
    literal(OP_2) HDChain HDChain literal(OP_2 OP_CHECKMULTISIG)
Does this sufficiently cover all reasonable use cases?

Luke



^ permalink raw reply	[flat|nested] 8+ messages in thread
[parent not found: <mailman.473107.1417725057.2207.bitcoin-development@lists.sourceforge.net>]

end of thread, other threads:[~2014-12-04 21:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-04 15:42 [Bitcoin-development] Serialised P2SH HD chains Luke Dashjr
2014-12-04 16:46 ` Gavin Andresen
2014-12-04 17:25 ` William Swanson
2014-12-04 18:04   ` Mike Hearn
2014-12-04 20:02 ` Jeffrey Paul
2014-12-04 20:43   ` Peter Todd
2014-12-04 21:10   ` Luke Dashjr
     [not found] <mailman.473107.1417725057.2207.bitcoin-development@lists.sourceforge.net>
2014-12-04 20:40 ` Michael Perklin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox