summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Hearn <mike@plan99.net>2014-04-10 13:37:58 +0200
committerbitcoindev <bitcoindev@gnusha.org>2014-04-10 11:38:04 +0000
commit35db898df06fd81f124075dcf79c565144c24436 (patch)
treedf4f658dcd97258d0417f428066f2c0d648334de
parentcf8a78368839e47071a88f04d0da939e077a9ab8 (diff)
downloadpi-bitcoindev-35db898df06fd81f124075dcf79c565144c24436.tar.gz
pi-bitcoindev-35db898df06fd81f124075dcf79c565144c24436.zip
[Bitcoin-development] Chain pruning
-rw-r--r--9e/5dacfe639f6adb260521d0281e62c3b998d435101
1 files changed, 101 insertions, 0 deletions
diff --git a/9e/5dacfe639f6adb260521d0281e62c3b998d435 b/9e/5dacfe639f6adb260521d0281e62c3b998d435
new file mode 100644
index 000000000..4cdab6970
--- /dev/null
+++ b/9e/5dacfe639f6adb260521d0281e62c3b998d435
@@ -0,0 +1,101 @@
+Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194]
+ helo=mx.sourceforge.net)
+ by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <mh.in.england@gmail.com>) id 1WYDIy-0005v0-BI
+ for bitcoin-development@lists.sourceforge.net;
+ Thu, 10 Apr 2014 11:38:04 +0000
+Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com
+ designates 209.85.219.45 as permitted sender)
+ client-ip=209.85.219.45; envelope-from=mh.in.england@gmail.com;
+ helo=mail-oa0-f45.google.com;
+Received: from mail-oa0-f45.google.com ([209.85.219.45])
+ by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
+ (Exim 4.76) id 1WYDIx-0007FR-Gp
+ for bitcoin-development@lists.sourceforge.net;
+ Thu, 10 Apr 2014 11:38:04 +0000
+Received: by mail-oa0-f45.google.com with SMTP id eb12so4284361oac.18
+ for <bitcoin-development@lists.sourceforge.net>;
+ Thu, 10 Apr 2014 04:37:58 -0700 (PDT)
+MIME-Version: 1.0
+X-Received: by 10.60.76.194 with SMTP id m2mr13634959oew.47.1397129878155;
+ Thu, 10 Apr 2014 04:37:58 -0700 (PDT)
+Sender: mh.in.england@gmail.com
+Received: by 10.76.96.180 with HTTP; Thu, 10 Apr 2014 04:37:58 -0700 (PDT)
+Date: Thu, 10 Apr 2014 13:37:58 +0200
+X-Google-Sender-Auth: jGoH4e6ViHoZPrtXTbHIjTqsYPY
+Message-ID: <CANEZrP04O7EqB=TqyTiC7O1K2A9R0nKJ_ssANHKg=Byum8-LtA@mail.gmail.com>
+From: Mike Hearn <mike@plan99.net>
+To: Pieter Wuille <pieter.wuille@gmail.com>
+Content-Type: multipart/alternative; boundary=047d7b33cea617b68604f6aea6a1
+X-Spam-Score: -0.5 (/)
+X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
+ See http://spamassassin.org/tag/ for more details.
+ -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for
+ sender-domain
+ 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider
+ (mh.in.england[at]gmail.com)
+ -0.0 SPF_PASS SPF: sender matches SPF record
+ 1.0 HTML_MESSAGE BODY: HTML included in message
+ 0.1 DKIM_SIGNED Message has a DKIM or DK signature,
+ not necessarily valid
+ -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
+X-Headers-End: 1WYDIx-0007FR-Gp
+Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
+Subject: [Bitcoin-development] Chain pruning
+X-BeenThere: bitcoin-development@lists.sourceforge.net
+X-Mailman-Version: 2.1.9
+Precedence: list
+List-Id: <bitcoin-development.lists.sourceforge.net>
+List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe>
+List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development>
+List-Post: <mailto:bitcoin-development@lists.sourceforge.net>
+List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help>
+List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>,
+ <mailto:bitcoin-development-request@lists.sourceforge.net?subject=subscribe>
+X-List-Received-Date: Thu, 10 Apr 2014 11:38:04 -0000
+
+--047d7b33cea617b68604f6aea6a1
+Content-Type: text/plain; charset=UTF-8
+
+Chain pruning is probably a separate thread, changing subject.
+
+
+> Reason is that the actual blocks available are likely to change frequently
+> (if
+> you keep the last week of blocks
+
+
+I doubt anyone would specify blocks to keep in terms of time. More likely
+it'd be in terms of megabytes, as that's the actual resource constraint on
+nodes. Given a block size average it's easy to go from megabytes to
+num_blocks, so I had imagined it'd be a new addr field that specifies how
+many blocks from the chain head are stored. Then you'd connect to some
+nodes and if they indicate their chain head - num_blocks_stored is higher
+than your current chain height, you'd do a getaddr and go looking for nodes
+that are storing far enough back.
+
+--047d7b33cea617b68604f6aea6a1
+Content-Type: text/html; charset=UTF-8
+Content-Transfer-Encoding: quoted-printable
+
+<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
+>Chain pruning is probably a separate thread, changing subject.</div><div>=
+=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bo=
+rder-left:1px #ccc solid;padding-left:1ex">
+Reason is=C2=A0that the actual blocks available are likely to change freque=
+ntly (if<br>
+you keep the last week of blocks</blockquote><div><br></div><div>I doubt an=
+yone would specify blocks to keep in terms of time. More likely it&#39;d be=
+ in terms of megabytes, as that&#39;s the actual resource constraint on nod=
+es. Given a block size average it&#39;s easy to go from megabytes to num_bl=
+ocks, so I had imagined it&#39;d be a new addr field that specifies how man=
+y blocks from the chain head are stored. Then you&#39;d connect to some nod=
+es and if they indicate their chain head - num_blocks_stored is higher than=
+ your current chain height, you&#39;d do a getaddr and go looking for nodes=
+ that are storing far enough back.</div>
+<div><br></div><div><br></div></div></div></div>
+
+--047d7b33cea617b68604f6aea6a1--
+
+