<?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/npub1xauxlsk47g5nrj205uz9vp9l4s72s7z2dwlwenw2r573mjsnvxnqcslhw9.rss" />
  <link href="https://nostr.ae/npub1xauxlsk47g5nrj205uz9vp9l4s72s7z2dwlwenw2r573mjsnvxnqcslhw9" />
  <id>https://nostr.ae/npub1xauxlsk47g5nrj205uz9vp9l4s72s7z2dwlwenw2r573mjsnvxnqcslhw9</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqsq4krxq88pujulxdpyqe8s5x5cunej58ywa7r9wzrzqn060ejg4pczyqmhsm7z6hezjvwff7nsg4syh7kre2rcff4mamxdegwn68w2zds6vc5z2t9</id>
    
      <title type="html">📅 Original date posted:2017-10-01 📝 Original message:Just a ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsq4krxq88pujulxdpyqe8s5x5cunej58ywa7r9wzrzqn060ejg4pczyqmhsm7z6hezjvwff7nsg4syh7kre2rcff4mamxdegwn68w2zds6vc5z2t9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqspt5z8n7gcf2zxwwev9z6cnurn3asvfvn7zxfwsz4kx9zveefp90g9l05ph&#39;&gt;nevent1q…05ph&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2017-10-01&lt;br/&gt;📝 Original message:Just a simple suggestion since the signature format is changed. Can this be&lt;br/&gt;designed so that possible future hard forks can simply change 1 constant in&lt;br/&gt;the code and turn on cross chain replay protection?&lt;br/&gt;&lt;br/&gt;On Sun, Oct 1, 2017 at 1:05 PM Mark Friedenbach via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Clean stack should be eliminated for other possible future uses, the most&lt;br/&gt;&amp;gt; obvious of which is recursive tail-call for general computation capability.&lt;br/&gt;&amp;gt; I’m not arguing for that at this time, just arguing that we shouldn’t&lt;br/&gt;&amp;gt; prematurely cut off an easy implementation of such should we want to. Clean&lt;br/&gt;&amp;gt; stack must still exist as policy for future soft-fork safety, but being a&lt;br/&gt;&amp;gt; consensus requirement was only to avoid witness malleability, which&lt;br/&gt;&amp;gt; committing to the size of the witness also accomplishes.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Committing to the number of witness elements is fully sufficient, and&lt;br/&gt;&amp;gt; using the number of elements avoids problems of not knowing the actual size&lt;br/&gt;&amp;gt; in bytes at the time of signing, e.g. because the witness contains a merkle&lt;br/&gt;&amp;gt; proof generated by another party from an unbalanced tree, and unbalanced&lt;br/&gt;&amp;gt; trees are expected to be common (so that elements can be placed higher in&lt;br/&gt;&amp;gt; the tree in accordance with their higher expected probability of usage).&lt;br/&gt;&amp;gt; Other future extensions might also have variable-length proofs.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; On Sep 30, 2017, at 7:47 PM, Luke Dashjr &amp;lt;luke at dashjr.org&amp;gt; wrote:&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Should it perhaps commit to the length of the serialised witness data&lt;br/&gt;&amp;gt; instead&lt;br/&gt;&amp;gt; &amp;gt; or additionally? Now that signatures are no longer variable-length,&lt;br/&gt;&amp;gt; that&amp;#39;d be&lt;br/&gt;&amp;gt; &amp;gt; possible...&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; As far as tail-call needs are concerned, CLEANSTACK wouldn&amp;#39;t have been&lt;br/&gt;&amp;gt; checked&lt;br/&gt;&amp;gt; &amp;gt; until AFTER the tail-call in the first draft. But I suppose eliminating&lt;br/&gt;&amp;gt; it for&lt;br/&gt;&amp;gt; &amp;gt; other possible future purposes is still useful.&lt;br/&gt;&amp;gt; &amp;gt;&lt;br/&gt;&amp;gt; &amp;gt; Luke&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; _______________________________________________&lt;br/&gt;&amp;gt; bitcoin-dev mailing list&lt;br/&gt;&amp;gt; bitcoin-dev at lists.linuxfoundation.org&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#34;&gt;https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&lt;/a&gt;&lt;br/&gt;&amp;gt;&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/20171001/4e1497ee/attachment-0001.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20171001/4e1497ee/attachment-0001.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T18:06:45Z</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsttvycfe79glm8mghx59fz4cjv3mzxlxmnac57gq7dx4az6t6grrczyqmhsm7z6hezjvwff7nsg4syh7kre2rcff4mamxdegwn68w2zds6vkgzhyv</id>
    
      <title type="html">📅 Original date posted:2016-01-06 📝 Original message:Since ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsttvycfe79glm8mghx59fz4cjv3mzxlxmnac57gq7dx4az6t6grrczyqmhsm7z6hezjvwff7nsg4syh7kre2rcff4mamxdegwn68w2zds6vkgzhyv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr2tvhjrq79ylk2d00d46t36hyczpmq54tllm8jg7dqrp7r06eszgz8v6hs&#39;&gt;nevent1q…v6hs&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2016-01-06&lt;br/&gt;📝 Original message:Since the release of sidechains alpha, confidential transactions[1] by Greg&lt;br/&gt;Maxwell have show how they could greatly improve transaction privacy and&lt;br/&gt;fungibility of bitcoin. Unfortunately without a hardfork or pegged&lt;br/&gt;sidechain it was not easy to enable them in bitcoin.&lt;br/&gt;&lt;br/&gt;The segregated witness[2] proposal by Pieter Wuille allows to reduce the&lt;br/&gt;blockchain to a mere utxo changeset while putting all cryptographic proofs&lt;br/&gt;(redeemscript/pubkeys/signatures) for the inputs into a witness part.&lt;br/&gt;Segwit also allows upgradable scripting language. All can be done with a&lt;br/&gt;soft fork.&lt;br/&gt;&lt;br/&gt;We propose an upgrade to segwit to allow transactions to have both&lt;br/&gt;witnessIns and witnessOuts.&lt;br/&gt;&lt;br/&gt;We also propose 3 new transactions types: blinding, unblinding and&lt;br/&gt;confidential. Valid blocks containing any of these new transactions MUST&lt;br/&gt;also include a mandatory special output in their coinbase transaction and a&lt;br/&gt;new special confidential base transaction.&lt;br/&gt;&lt;br/&gt;The basic idea for confidential transaction is to use 0 value inputs and&lt;br/&gt;outputs while having the encrypted amounts (petersen-commitment &#43;&lt;br/&gt;range-proof) in the witnessOut part. These transactions are valid under old&lt;br/&gt;rules (but currently non-standard). For blinding, unblinding and miner fees&lt;br/&gt;we use a single anyone-can-spend output (GCTXO) which will be updated in&lt;br/&gt;every block containing confidential transactions.&lt;br/&gt;&lt;br/&gt;Blinding transaction:&lt;br/&gt;  Ins:&lt;br/&gt;    All non-confidential inputs are valid&lt;br/&gt;  Outs:&lt;br/&gt;  - 0..N: (new confidential outputs)&lt;br/&gt;    amount: 0&lt;br/&gt;    scriptPubkey: OP_2 &amp;lt;0x{32-byte-hash-value}&amp;gt;&lt;br/&gt;    witnessOut: &amp;lt;0x{petersen-commitment}&amp;gt; &amp;lt;0x{range-proof}&amp;gt;&lt;br/&gt;  - last:&lt;br/&gt;    amount: 0&lt;br/&gt;    scriptPubkey: OP_RETURN OP_2 {blinding-fee-amount}&lt;br/&gt;  Fee: Sum of the all inputs value&lt;br/&gt;The last output&amp;#39;s script is also a marker of the transaction being a&lt;br/&gt;blinding tx. After the soft fork, a block is invalid if the miner claims&lt;br/&gt;the fees for himself instead of putting it into a special coinbase output.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Coinbase transaction:&lt;br/&gt;If the block contains blinding transactions, it MUST send the sum of all&lt;br/&gt;their fees to a new output: GCTXO[coinbase]&lt;br/&gt;The scriptPubkey does not really matter since it will be only spendable&lt;br/&gt;under strict rules in the same block&amp;#39;s confidential base transaction. Maybe&lt;br/&gt;OP_TRUE.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Unblinding transaction:&lt;br/&gt;  Ins:&lt;br/&gt;    prev: CTXO[n]&lt;br/&gt;    scriptSig: (empty)&lt;br/&gt;    witnessIn: &amp;lt;signature&amp;gt; &amp;lt;0x{redeemscript}&amp;gt;&lt;br/&gt;  Outs:&lt;br/&gt;  - 0..N:&lt;br/&gt;    amount: 0&lt;br/&gt;  scriptPubkey: OP_RETURN OP_2 {amount-to-be-unblinded} {p2sh-destination}&lt;br/&gt;    witnessOut: (empty)&lt;br/&gt;  - last:&lt;br/&gt;    amount: 0&lt;br/&gt;    scriptPubkey: OP_RETURN OP_2 {unblinding-fee-amount}&lt;br/&gt;  Fee: 0&lt;br/&gt;&lt;br/&gt;This transaction remove removes the confidential outputs from the utxo set.&lt;br/&gt;This outpoint itself is not spendable (it&amp;#39;s OP_RETURN), but the same block&lt;br/&gt;will contain a confidential base transaction created by the miner that will&lt;br/&gt;satisfy the amount and p2sh-destination (refunded using GCTXO).&lt;br/&gt;Confidential transaction:&lt;br/&gt;  Ins:&lt;br/&gt;  - 0..N:&lt;br/&gt;    prev: CTXO[n]&lt;br/&gt;    scriptSig: (empty)&lt;br/&gt;    witnessIn: &amp;lt;signature&amp;gt; &amp;lt;0x{redeemscript}&amp;gt;&lt;br/&gt;  Outs:&lt;br/&gt;  - 0..N:&lt;br/&gt;    amount: 0&lt;br/&gt;    scriptPubkey: OP_2 &amp;lt;0x{32-byte-hash-value}&amp;gt;&lt;br/&gt;    witnessOut: &amp;lt;0x{petersen-commitment}&amp;gt; &amp;lt;0x{range-proof}&amp;gt;&lt;br/&gt;  - last:&lt;br/&gt;    amount: 0&lt;br/&gt;    scriptPubkey: OP_RETURN OP_2 {confidential-fee-amount}&lt;br/&gt;  Fee: 0&lt;br/&gt;&lt;br/&gt;All inputs and outputs and have amount 0 and are everyone can spend V2&lt;br/&gt;segwit, thus valid under old rules. Transaction valid under new rules&lt;br/&gt;obviously only if petersen commitment and range-proof in witnessOut valid.&lt;br/&gt;Minerfee for this transaction is expressed as one extra output:&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Confidential base transaction:&lt;br/&gt;  Ins:&lt;br/&gt;    GCTXO[last_block],&lt;br/&gt;    GCTXO[coinbase]&lt;br/&gt;  Outs:&lt;br/&gt;    0: GCTXO[current_block]&lt;br/&gt;    amount: {last_block &#43; coinbase - unblindings}&lt;br/&gt;    scriptPubkey: OP_TRUE&lt;br/&gt;    1..N:&lt;br/&gt;    amount/scriptPubkey: as requested by unblinding transactions in this&lt;br/&gt;block&lt;br/&gt;  Fee:&lt;br/&gt;    Sum of all the explicit OP_RETURN OP_2 {...} expressed fees from&lt;br/&gt;    confidential transactions in this block&lt;br/&gt;&lt;br/&gt;This special transaction in last position in every block that contains at&lt;br/&gt;least one of the new transaction types. Created by the miner of the block&lt;br/&gt;and used to do the actual unblinding and redeeming transaction fees for all&lt;br/&gt;confidential transactions.&lt;br/&gt;&lt;br/&gt;There will always be only 1 GCTXO in the utxo set. This allows for full&lt;br/&gt;accountability for 21 million bitcoin. Should a vulnerability in CT be&lt;br/&gt;discovered all unconfidential bitcoins remain safe. Under these new rules,&lt;br/&gt;a block is only valid if all amounts/commitments/range-proofs match. A a&lt;br/&gt;miner trying use GCTXO other than allowed in the single confidential base&lt;br/&gt;transaction&lt;br/&gt;will be orphaned.&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://people.xiph.org/~greg/confidential_values.txt&#34;&gt;https://people.xiph.org/~greg/confidential_values.txt&lt;/a&gt;&lt;br/&gt;[2]&lt;br/&gt;&lt;a href=&#34;https://github.com/CodeShark/bips/blob/segwit/bip-codeshark-jl2012-segwit.mediawiki&#34;&gt;https://github.com/CodeShark/bips/blob/segwit/bip-codeshark-jl2012-segwit.mediawiki&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Sorry for the form, this is just a quick draft of a thought I had today.&lt;br/&gt;Please comment.&lt;br/&gt;&lt;br/&gt;Felix Weis&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/20160106/94ee558a/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20160106/94ee558a/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-07T17:31:22Z</updated>
  </entry>

</feed>