From ZmnSCPxj at protonmail.com Thu Nov 15 04:42:28 2018 From: ZmnSCPxj at protonmail.com (ZmnSCPxj) Date: Thu, 15 Nov 2018 04:42:28 +0000 Subject: [Lightning-dev] Strawman BOLT11 static "offer" format using probes. In-Reply-To: <87k1lfc7tc.fsf@rustcorp.com.au> References: <87k1lfc7tc.fsf@rustcorp.com.au> Message-ID: <5QQHkDJJZsQPXG38OloBfICfpxkaz2jlzOpg8VgN6_pcmG7x8ymnF0wn8Xdyp4VOJbfUv6VIMqnj92CI1fv0EH9_TKardn6M-r3SK_6q9eY=@protonmail.com> Good morning Rusty, No particular comment on static offer invoices, but instead various bikeshedding. > > The format of the final-hop lightning onion would contain: > > [whatever-marker-we-need?][128-bit-`p`-field][[type,len,data]+] I think a separate BOLT for the type,len,data would be useful, and might also document various consistent designs of messages (such as var-length fields using a prefixed 16-bit length measuring number of items in the field). BOLT #13: type,len,data standard (I should probably move this to a new thread). > I apologize that this wasn't fleshed out before the summit, but I > overestimated the power of Scriptless Scripts so had mentally deferred > this. My understanding is that SS *is* as powerful as we thought, at least for some of the applications we were hoping to use it for. However, implementing SS is hard without Schnorr, because script magic with `OP_CODESEPARATOR` is magic, and we essentially stalled out and said "maybe wait for Schnorr instead". Regards, ZmnSCPxj