<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub1qp30q8l5nqgsxyw4nxrt8gyge6qjvm4syfg8zpmrc2pg8265s52sw9lsqv.rss" />
  <link href="https://nostr.ae/npub1qp30q8l5nqgsxyw4nxrt8gyge6qjvm4syfg8zpmrc2pg8265s52sw9lsqv" />
  <id>https://nostr.ae/npub1qp30q8l5nqgsxyw4nxrt8gyge6qjvm4syfg8zpmrc2pg8265s52sw9lsqv</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqs2w9ka3wpe53jdv66a8a53frmky775r6t3ssufsw52txzry4zyd7czyqqx9uql7jvpzqc36kvcdvaq3r8gzfnwkq39qug8v0pg9qat2jz32x4xnj8</id>
    
      <title type="html">📅 Original date posted:2017-03-25 📝 Original ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs2w9ka3wpe53jdv66a8a53frmky775r6t3ssufsw52txzry4zyd7czyqqx9uql7jvpzqc36kvcdvaq3r8gzfnwkq39qug8v0pg9qat2jz32x4xnj8" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2an7zkas0zhpapxdhn5cmh3njdf9dnwrn0776yp7t9shahyuwrhsgugu59&#39;&gt;nevent1q…gu59&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-03-25&lt;br/&gt;📝 Original message:Further to recent posts to this list concerning mining with more than one&lt;br/&gt;hash function, Adam Perlow and me have a (longish) proposal/analysis on&lt;br/&gt;combining multi-hash with bitcoin stake voting on what the mix of hashes&lt;br/&gt;should be. Two novelties are:&lt;br/&gt;&lt;br/&gt;* Targeting a ratio of blocks mined under each hash function, in a similar&lt;br/&gt;way to difficulty targeting.&lt;br/&gt;* Analysis of voting on this ratio in terms of &amp;#34;voting on a simplex&amp;#34;, using&lt;br/&gt;extant research to choose a good method of doing so.&lt;br/&gt;&lt;br/&gt;One point about mining under multiple hashes is that it offers existing&lt;br/&gt;miners a way back in after a contentious hard fork. Shame to waste all that&lt;br/&gt;hardware…&lt;br/&gt;&lt;br/&gt;Read at&lt;br/&gt;&lt;a href=&#34;http://topynate.net/wp-content/uploads/2017/03/proportionateresponse.pdf&#34;&gt;http://topynate.net/wp-content/uploads/2017/03/proportionateresponse.pdf&lt;/a&gt;&lt;br/&gt;(archived at &lt;a href=&#34;http://www.webcitation.org/6pEZLlZoW&#34;&gt;http://www.webcitation.org/6pEZLlZoW&lt;/a&gt;)&lt;br/&gt;Nathan Cook&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170325/ae48937d/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20170325/ae48937d/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T17:57:55Z</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqstk6ex74ewk0ptfv8zr4x8wrk3qwgx8kkm2h9gqqv3l6xeuph493qzyqqx9uql7jvpzqc36kvcdvaq3r8gzfnwkq39qug8v0pg9qat2jz328pa6c7</id>
    
      <title type="html">📅 Original date posted:2015-01-09 📝 Original message:A ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqstk6ex74ewk0ptfv8zr4x8wrk3qwgx8kkm2h9gqqv3l6xeuph493qzyqqx9uql7jvpzqc36kvcdvaq3r8gzfnwkq39qug8v0pg9qat2jz328pa6c7" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsfyhavjh6zkueg4xuz9gjh7sy3e9099twjjnun380pds9nqeetqcg2xr6a3&#39;&gt;nevent1q…r6a3&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2015-01-09&lt;br/&gt;📝 Original message:A limitation on most existing micropayment channel ideas is that payments&lt;br/&gt;can only flow in one direction. This is because the payment receiver can&lt;br/&gt;sign -any- transaction you send them, not just the most recent one, and so&lt;br/&gt;it&amp;#39;s possible to just sign the transaction transferring the largest amount&lt;br/&gt;into their control. This is easily remedied by opening a second payment&lt;br/&gt;channel in the opposite direction, but now both parties have to deposit&lt;br/&gt;funds over the lifetime of the two channels. If one party doesn&amp;#39;t know&lt;br/&gt;ahead of time whether or not the other party will go into credit, having&lt;br/&gt;only one channel may save the use of a deposit.&lt;br/&gt;&lt;br/&gt;I propose a way of using CHECKLOCKTIMEVERIFY to allow a reversible payment&lt;br/&gt;channel, introducing at most one additional broadcast transaction, with a&lt;br/&gt;waiting period before the payment receiver can access deposited funds. The&lt;br/&gt;extra transaction and waiting period apply only when the depositor doesn&amp;#39;t&lt;br/&gt;co-operate with the receiver.&lt;br/&gt;&lt;br/&gt;In this protocol, the setup is identical, with a deposit made to a P2SH&lt;br/&gt;address matching a script allowing either single-party&#43;CHECKLOCKTIME or&lt;br/&gt;2-of-2. In this case, however, payments made by the depositor occur in the&lt;br/&gt;form of unbroadcast transactions to special -holding addresses-.&lt;br/&gt;&lt;br/&gt;These holding addresses are themselves P2SH addresses, with scripts known&lt;br/&gt;to both parties. Each script may be redeemed in one of two ways:&lt;br/&gt;by the payment receiver, using their signature with a CHECKLOCKTIME&lt;br/&gt;restriction that expires some period of time after the restriction on the&lt;br/&gt;depositor&amp;#39;s refund transaction, or&lt;br/&gt;by the depositor, using their own signature, together with a hashlock.&lt;br/&gt;&lt;br/&gt;In the second case, we actually use a double hashlock, i.e. the depositor&lt;br/&gt;must provide a value which when SHA256-hashed twice produces the value in&lt;br/&gt;the script.&lt;br/&gt;&lt;br/&gt;The receiver generates these values according to the following algorithm:&lt;br/&gt;Beginning with a secret S_0, they double hash S_0 to make the hashlock&lt;br/&gt;value for the first payment, D_0 =H(H(S_0)). Then to make S_i&#43;1 given S_i,&lt;br/&gt;they create a public nonce, N_i, and let S_i&#43;1 = H(N_i | H(S_i)), where a|b&lt;br/&gt;denotes the string a followed by the string b. The hashlock values D_i are&lt;br/&gt;not secret, and can be disclosed in advance or as part of the process of&lt;br/&gt;receiving the associated payment.&lt;br/&gt;&lt;br/&gt;When the receiver wants to refund some amount to the depositor, the&lt;br/&gt;receiver finds the last payment which left the depositor with a balance&lt;br/&gt;-greater- than the desired balance, and negotiates a rewind of the payment&lt;br/&gt;sequence to that point, with an additional payment of the remainder by the&lt;br/&gt;depositor. Suppose the last payment that will remain valid was the i-th&lt;br/&gt;payment, counting from zero. The receiver creates a new nonce, N&amp;#39;_i,&lt;br/&gt;creates the associated new secret value S&amp;#39;_i&#43;1 by S&amp;#39;_i&#43;1 = H(N&amp;#39;_i |&lt;br/&gt;H(S_i)), and sends D&amp;#39;_i&#43;1 to the depositor with a request for payment of&lt;br/&gt;the right amount. This amount will be greater than that associated to D_i,&lt;br/&gt;but less than that associated to D_i&#43;1, so the depositor does not need to&lt;br/&gt;trust the receiver in order to honour the request. The payment chain is now&lt;br/&gt;forked at D_i, with a branch D_i&#43;1, D_i&#43;2... and a branch that only has&lt;br/&gt;D&amp;#39;_i&#43;1. The receiver now unwinds the old branch, back to D_i, by revealing&lt;br/&gt;S_i&#43;1 to the depositor. The depositor can now generate - and check - the&lt;br/&gt;secrets S_i&#43;1, S_i&#43;2..., and so knows that if the receiver attempts to sign&lt;br/&gt;and broadcast a transaction to an address using one of those secrets, the&lt;br/&gt;depositor can take back all their funds before the receiver is able to put&lt;br/&gt;their own (CHECKLOCKTIME restricted) transaction from that address on the&lt;br/&gt;blockchain. Now the best usable payment to the receiver is the one&lt;br/&gt;associated to D&amp;#39;_i&#43;1.&lt;br/&gt;&lt;br/&gt;When the two parties want to close the payment channel, one party signs a&lt;br/&gt;transaction from the deposit address to whatever addresses are desired, and&lt;br/&gt;sends the transaction to the other party to add their own signature and&lt;br/&gt;publish. This avoids either party having to wait for CHECKLOCKTIME&lt;br/&gt;restrictions to expire. If either party abandons the protocol at this&lt;br/&gt;point, the other can use the CHECKLOCKTIME restrictions to ensure they get&lt;br/&gt;at least as much as they would if both cooperated. Note that the holding&lt;br/&gt;addresses are only used on the blockchain when the protocol is abandoned.&lt;br/&gt;&lt;br/&gt;This protocol does not deal with the case of malicious attacks on a party&amp;#39;s&lt;br/&gt;network connection, which could keep them offline until CHECKLOCKTIME has&lt;br/&gt;expired. This is something that each party should consider when choosing&lt;br/&gt;how long the restrictions should be in place for. The protocol improves on&lt;br/&gt;blueadept&amp;#39;s use of a new nLockTime for each reverse payment[1], by keeping&lt;br/&gt;the wait time independent of the number of payments, and not requiring&lt;br/&gt;either party to predict ahead of time how many payments will occur.&lt;br/&gt;&lt;br/&gt;A note on generating hashlock secrets: the protocol works perfectly well&lt;br/&gt;without generating them deterministically. Using an HMAC-style derivation&lt;br/&gt;is more of a convenience than anything else - it saves storing and&lt;br/&gt;transmitting all the secrets when a chain needs to be invalidated - but it&lt;br/&gt;does encode the fact that the addresses form a chain into the addresses&amp;#39;&lt;br/&gt;scripts, which is a nice property to have.&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://bitcointalk.org/index.php?topic=814770.msg9185225#msg9185225&#34;&gt;https://bitcointalk.org/index.php?topic=814770.msg9185225#msg9185225&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;I first posted this at &lt;a href=&#34;https://bitcointalk.org/index.php?topic=918018.0&#34;&gt;https://bitcointalk.org/index.php?topic=918018.0&lt;/a&gt; and&lt;br/&gt;have edited it slightly for posting on this list. Thanks to Peter Todd for&lt;br/&gt;the suggestion to submit it here for review.&lt;br/&gt;&lt;br/&gt;Nathan Cook&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150109/dc18ce68/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150109/dc18ce68/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T15:28:23Z</updated>
  </entry>

</feed>