<oembed><type>rich</type><version>1.0</version><title>Konstantin Ketterer [ARCHIVE] wrote</title><author_name>Konstantin Ketterer [ARCHIVE] (npub1d3…v3l5r)</author_name><author_url>https://yabu.me/npub1d38xn8fn3qsj4ruge6qces8qwljx993gkxkek8usmkrzllrn2d3q8v3l5r</author_url><provider_name>njump</provider_name><provider_url>https://yabu.me</provider_url><html>📅 Original date posted:2019-09-25&#xA;📝 Original message:&#xA;*Disclaimer*: I have just finished Highschool and I&#39;m only learning a bit&#xA;in my free time.This may be fundamentally broken ;)&#xA;&#xA;*Motivation*: If I had to timestamp multiple messages I could simply&#xA;aggregate them in a merkle tree and pay relatively low fees per message.&#xA;However, if I only need to timestamp something once in a while I need to&#xA;rely on free services or pay high fees.&#xA;&#xA;*Solution*: buy a place in a merkle tree &#34;risk-free&#34;&#xA;&#xA;1. send hash x of my message (or the merkle root of another tree) to the&#xA;timstamping server&#xA;2. server calculates Pedersen commit: C = x*H + r*G, hashes it, builds&#xA;merkle tree with other commits in it and publishes a valid transaction&#xA;containing the merkle root to the Bitcoin blockchain&#xA;3. after a certain number of block confirmations and with the given proof I&#xA;can confirm that the commitment C is indeed part of the Bitcoin blockchain&#xA;4. I now have to send a lightning payment with C - x*H = r*G as the payment&#xA;point  to the timestamping server and as a proof of payment the server must&#xA;reveal r to receive the money.&#xA;&#xA;--&gt; With both r and x I have a valid Pedersen commitment.&#xA;&#xA;This introduces an additional security assumption to Bitcoin timestamps but&#xA;if the discrete logarithm is broken Bitcoin has bigger problems than broken&#xA;timestamps.&#xA;&#xA;*Conclusion*&#xA;This scheme essentially shifts the risk of a timestamping service from the&#xA;buyer to the seller who now has to pay the onchain transaction fee upfront.&#xA;Hence, the seller will most likely charge a small fee upfront just like&#xA;some submarineswap providers do.&#xA;&#xA;Regards&#xA;Konstantin Ketterer&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/lightning-dev/attachments/20190925/8d6502f0/attachment.html&gt;</html></oembed>