[Lightning-dev] [BOLT Draft] Onion Routing Spec

Olaoluwa Osuntokun laolu32 at gmail.com
Tue Aug 16 04:54:28 UTC 2016


Rusty Russell <rusty at rustcorp.com.au> wrote:

> Some node will have to straddle two chains, right?  So you'd route A ->
> B -> C as normal, and C is (say) litecoin (B straddles both).  You
> really want the onion to be explicit that this transfer to litecoin is
> what the sender intended.  Or some sidechain.
>
> Now, we'd hope nobody would screw this up, but I think it's worth
> flagging since the sender really should know it's changing chains.
>
> Ahh, I'm starting to see your point now.

Agreed that it doesn't hurt to allocate an extra byte in order to make the
chain transitions *explicit*. Alternatively, (instead of modifying the
header) we can simply allocate the first byte of the per-hop payload for
this purpose.

-- Laolu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20160816/9a0bd76b/attachment-0001.html>


More information about the Lightning-dev mailing list