Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 6884D949 for ; Tue, 26 Sep 2017 07:10:48 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-wr0-f180.google.com (mail-wr0-f180.google.com [209.85.128.180]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 004C5D9 for ; Tue, 26 Sep 2017 07:10:45 +0000 (UTC) Received: by mail-wr0-f180.google.com with SMTP id a43so11763359wrc.0 for ; Tue, 26 Sep 2017 00:10:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GUqj+xari5IYS5sjqMM0O8Upy+xjw95BhLgFtdqatT0=; b=vHps+pILl5cFbFOpwUuK/DZVkg4JRLcZViiDAzgYYt4xSeppUb9dvXGr5ucbaIyVuM Z97r0xf//jCys6pKcPuoK3xNqd8PprmT4iKI6Olah+9K+/QkPgYPd68jePi1fQXzLo2t M5rwYGSq7w9Z3sILczFXCONoEIcp1JR2Sk/WFOuMCHwoNGeHy7T59qpyM5ww5S120xcM J4TOQsxSAisGVLLswX8kcMM3z05scbxcuZZwtugKPvfttCrdM7UePTNSTUG9FuyxSaHq QqiUgrSLDJ2+0CmE0PRn5Nai3vG+eDkYoaoXq6E8HUMRWsOWaR4boDj/KVtRDXuA2PGs WArA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GUqj+xari5IYS5sjqMM0O8Upy+xjw95BhLgFtdqatT0=; b=DWK0byYQGgr0zTFTGauL+bvYGMz6RYRMhkGXxZFsMVo1rRUfPelbAnTG2hX1fw12Jg wksa1hW2q4bH1wQC8wKunytbFhbU1T1KUdao3vBYJfqNhDBPrNKxOOVaWZR9nUlczc1G MZwgnDoAqgW4p+fYQWdDd23D4KTciw5gEX17s9O0sFe4tE/Vn9NR+wvDjq/G+4LeX5xz hw/JWiMmHTnV1Wb3qQS88c8NpLsbwTO8ugpq1FKNw2KCdMqXb1QYoyPh92L3e4SbttjK 26OR72IgN1xRrdBsSGDxgrHfNPhBjCCPNG11xWJjqhmqJpiSqvYV1YXqWiTDL7y3sZx5 gcgQ== X-Gm-Message-State: AHPjjUgsAma3DsN2Q/Qz6awd6gDwocUOpAngYDCSmfK/Kz9LMwGKD8YU 0ae6csMBtDwU2IHpAFUUvZd97FCPInh2HuQBFzM= X-Google-Smtp-Source: AOwi7QAEQTTnikfCHMjBv2Km+9vUMP+jpkNt2b+ua2y0aseIwFFwMvcoIQkSbrLlMwoeJ7nFtdVuSftq1bNusLuDidM= X-Received: by 10.223.134.236 with SMTP id 41mr7405534wry.81.1506409844508; Tue, 26 Sep 2017 00:10:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.152.136 with HTTP; Tue, 26 Sep 2017 00:10:43 -0700 (PDT) In-Reply-To: References: <9Rdn-Mm90LWD4Tk_F0x04feUwKQp3nL8yTou9435kqjPCwjXWzNXsYTbWDA8YvO4p6_jBu1sFXEAa1ybvtcIrOqbv7qkghwENdHch6n_EEM=@protonmail.com> From: =?UTF-8?B?0JDQu9C10LrRgdC10Lkg0JzRg9GC0L7QstC60LjQvQ==?= Date: Tue, 26 Sep 2017 10:10:43 +0300 Message-ID: To: Patrick Sharp , Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="001a1149236aab0ccd055a125f43" X-Spam-Status: No, score=0.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM autolearn=disabled version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org X-Mailman-Approved-At: Tue, 26 Sep 2017 09:51:42 +0000 Subject: Re: [bitcoin-dev] idea post: trimming and demurrage X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2017 07:10:48 -0000 --001a1149236aab0ccd055a125f43 Content-Type: text/plain; charset="UTF-8" Lets call it blocktrain instead of blockchain. Because it is fixed amount of blocks moving forward on the time axis. Oldest blocks are detached from the tail of that blockTrain and goes to depot. 2017-09-26 4:33 GMT+03:00 Patrick Sharp via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org>: > Thank you for your responses. I have been enlightened. For the time being > the combination of the UTXO's and pruning will accomplish what I desire. I > suspect that there will come a time when the UTXO database becomes too > large, but I guess that is a problem for another day. If that day ever > comes 10 years was just an example, like you said there are reasons to > preserve value beyond that point, perhaps a human lifetime or two would be > a better choice. > > Side question: wouldn't it be a good idea to store the hash of the current > or previous UTXO's in the block header so that pruned nodes can verify > their UTXO's are accurate without having to check the full chain? and/or > maybe include a snap shot of the UTXO's every x blocks? > > You guys are totally awesome!!! > > I here by withdraw my proposal for the time being. > > On Mon, Sep 25, 2017 at 5:34 PM, ZmnSCPxj wrote: > >> Good morning Patrick, >> >> Demurrage is simply impossible. >> >> In Bitcoin we already have implemented OP_CHECKLOCKTIMEVERIFY. >> >> This opcode requires that a certain block height or date has passed >> before the output can be spent. >> >> It can be used to make an "in trust for" address, where you disallow >> spending of that address. For example, you may have a child to whom you >> wish to dedicate some inheritance to, and ensure that the child will not >> spend it recklessly until they achieve some age (when hopefully they would >> be more mature), regardless of what happens to you. >> >> If I made a P2SH address with OP_CHECKLOCKTIMEVERIFY that allows spending >> 18 years from birth of my child, and then suddenly Bitcoin Core announces >> demurrage, I would be very angry. >> >> OP_CHECKLOCKTIMEVERIFY cannot be countermanded, and it would be >> impossible to refresh the UTXO's as required by demurrage, without >> requiring a hardfork that ignores OP_CHECKLOCKTIMEVERIFY. >> >> It would be better to put such additional features as demurrage in a >> sidechain rather than on mainchain. >> >> >> Regards, >> ZmnSCPxj >> >> -------- Original Message -------- >> Subject: [bitcoin-dev] idea post: trimming and demurrage >> Local Time: September 25, 2017 9:54 PM >> UTC Time: September 25, 2017 9:54 PM >> From: bitcoin-dev@lists.linuxfoundation.org >> To: bitcoin-dev@lists.linuxfoundation.org >> >> Hello Devs, >> >> I am Patrick Sharp. I just graduated with a BS is computer science. >> Forgive my ignorance. >> >> As per bip-0002 I have scoured each bip available on the wiki to see if >> these ideas have already been formally proposed and now as per bip-0002 >> post these ideas here. >> >> First and foremost I acknowledge that these ideas are not original nor >> new. >> >> Trimming and demurrage: >> >> I am fully aware that demurrage is a prohibited change. I hereby contest. >> For the record I am not a miner, I am just aware of the economics that >> drive the costs of bitcoin. >> >> Without the ability to maintain some sort of limit on the maximum length >> or size of the block chain, block chain is not only unsustainable in the >> long run but becomes more and more centralized as the block chain becomes >> more and more unwieldy. >> >> Trimming is not a foreign concept. Old block whose transactions are now >> spent hold no real value. Meaningful trimming is expensive and inhibited by >> unspent transactions. Old unspent transactions add unnecessary and unfair >> burden. >> Old transactions take up real world space that continues incur cost while >> these transactions they do not continue to contribute to any sort of >> payment for this cost. >> One can assume that anybody with access to their bitcoins has the power >> to move these bitcoins from one address to another (or at least that the >> software that holds the keys to their coins can do it for them) and it is >> not unfair to require them to do so at least once every 5 to 10 years. >> Given the incentive to move it or lose it and software that will do it >> for them, we can assume that any bitcoin not moved is most likey therefore >> lost. >> moving these coins will cost a small transaction fee which is fair as >> their transactions take up space, they need to contribute >> most people who use their coins regularly will not even need to worry >> about this as their coins are moved to a change address anyway. >> one downside is that paper wallets would then have an expiration date, >> however I do not think that a paper wallet that needs to be recycled every >> 5 to 10 years is a terrible idea. >> Therefore I propose that the block chain length be limited to either 2^18 >> blocks (slightly less than 5 years) or 2^19 blocks, or slightly less than >> 10 years. I propose that each time a block is mined the the oldest block(s) >> (no more than two blocks) beyond this limit is trimmed from the chain and >> that its unspent transactions are allowed to be included in the reward of >> the mined block. >> >> This keeps the block chain from tending towards infinity. This keeps the >> costs of the miners balanced with the costs of the users. >> >> Even though I believe this idea will have some friction, it is applicable >> to the entire community. It will be hard for some users to give up small >> benefits that they get at the great cost of miners, however miners run the >> game and this fair proposal is in in their best interest in two different >> ways. I would like your thoughts and suggestions. I obviously think this is >> a freaking awesome idea. I know it is quite controversial but it is the >> next step in evolution that bitcoin needs to take to ensure immortality. >> >> I come to you to ask if this has any chance of acceptance. >> >> -Patrick >> > > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > > --001a1149236aab0ccd055a125f43 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Lets call it blocktrain instead of blockchain. Because it = is fixed amount of blocks moving forward on the time axis. Oldest blocks ar= e detached from the tail of that blockTrain and goes to depot.

2017-09-26 4:33 GMT+= 03:00 Patrick Sharp via bitcoin-dev <bitcoin-dev@lists= .linuxfoundation.org>:
Thank you for your respo= nses. I have been enlightened. For the time being the combination of the UT= XO's and=C2=A0pruning will accomplish=C2=A0what I desire. I suspect tha= t there will come a time when the UTXO database becomes too large, but I gu= ess that is a problem for another day. If that day ever comes 10 years was = just an example, like you said there are reasons to preserve value beyond t= hat point, perhaps a human lifetime or two would be a better choice.=

=
Side question: wouldn't it= be a good idea to store the hash of the current or previous UTXO's in = the block header so that pruned nodes can verify their UTXO's are accur= ate without having to check the full chain? and/or maybe include a snap sho= t of the UTXO's every x blocks?
Yo= u guys are totally awesome!!!
<= br>
I here by withdraw my proposal for= the time being.

On Mon, Sep 25, 2017 at = 5:34 PM, ZmnSCPxj <ZmnSCPxj@protonmail.com> wrote:
=
Good morning Patrick,

Demurrage is si= mply impossible.

In Bitcoin we already have implemented OP_CHECKLOCK= TIMEVERIFY.

This opcode requires that a certain block height or date= has passed before the output can be spent.

It can be used to make a= n "in trust for" address, where you disallow spending of that add= ress.=C2=A0 For example, you may have a child to whom you wish to dedicate = some inheritance to, and ensure that the child will not spend it recklessly= until they achieve some age (when hopefully they would be more mature), re= gardless of what happens to you.

If I made a P2SH address with OP_CH= ECKLOCKTIMEVERIFY that allows spending 18 years from birth of my child, and= then suddenly Bitcoin Core announces demurrage, I would be very angry.
=
OP_CHECKLOCKTIMEVERIFY cannot be countermanded, and it would be impossi= ble to refresh the UTXO's as required by demurrage, without requiring a= hardfork that ignores OP_CHECKLOCKTIMEVERIFY.

It would be better to= put such additional features as demurrage in a sidechain rather than on ma= inchain.


Regards,
ZmnSC= Pxj

-------- Original Message --------<= br>
Subject: [bitcoin-dev] idea post: trimming and demurrage
<= /div>
Local Time: September 25, 2017 9:54 PM
UTC Time: Se= ptember 25, 2017 9:54 PM

Hello Devs,

I am Patrick Sharp. I just graduated with a BS is computer science. Forgi= ve my ignorance.

As per bip-0002 I have scoure= d each bip available on the wiki to see if these ideas have already been fo= rmally proposed and now as per bip-0002 post these ideas here.

First and foremost I acknowledge that these ideas are not = original nor new.

Trimming and demurrage:
<= /div>

I am fully aware that demurrage is a prohibited ch= ange. I hereby contest. For the record I am not a miner, I am just aware of= the economics that drive the costs of bitcoin.

Without the ability to maintain some sort of limit on the maximum length = or size of the block chain, block chain is not only unsustainable in the lo= ng run but becomes more and more centralized as the block chain becomes mor= e and more unwieldy.

Trimming is not a foreign= concept. Old block whose transactions are now spent hold no real value. Me= aningful trimming is expensive and inhibited by unspent transactions. Old u= nspent transactions add unnecessary and unfair burden.
Old tr= ansactions take up real world space that continues incur cost while these t= ransactions they do not continue to contribute to any sort of payment for t= his cost.
One can assume that anybody with access to their bi= tcoins has the power to move these bitcoins from one address to another (or= at least that the software that holds the keys to their coins can do it fo= r them) and it is not unfair to require them to do so at least once every 5= to 10 years.
Given the incentive to move it or lose it and s= oftware that will do it for them, we can assume that any bitcoin not moved = is most likey therefore lost.
moving these coins will cost a = small transaction fee which is fair as their transactions take up space, th= ey need to contribute
most people who use their coins regular= ly will not even need to worry about this as their coins are moved to a cha= nge address anyway.
one downside is that paper wallets would = then have an expiration date, however I do not think that a paper wallet th= at needs to be recycled every 5 to 10 years is a terrible idea.
Therefore I propose that the block chain length be limited to either 2^1= 8 blocks (slightly less than 5 years) or 2^19 blocks, or slightly less than= 10 years. I propose that each time a block is mined the the oldest block(s= ) (no more than two blocks) beyond this limit is trimmed from the chain and= that its unspent transactions are allowed to be included in the reward of = the mined block.

This keeps the block chain fr= om tending towards infinity. This keeps the costs of the miners balanced wi= th the costs of the users.

Even though=C2=A0I = believe this idea will have some friction, it is applicable to the entire c= ommunity. It will be hard for some users to give up small benefits that the= y get at the great cost of miners, however miners run the game and this fai= r proposal is in in their best interest in two different ways. I would like= your thoughts and suggestions. I obviously think this is a freaking awesom= e idea. I know it is quite controversial=C2=A0but it is the next step in ev= olution that bitcoin needs to take to ensure immortality.
I come to you to ask if this has any chance of acceptance.
<= /div>

-Patrick
<= br>

_______________________________________________
bitcoin-dev mailing list
bitcoin-dev@lists.= linuxfoundation.org
https://lists.linuxfoundation.org= /mailman/listinfo/bitcoin-dev


--001a1149236aab0ccd055a125f43--