summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngel Leon <gubatron@gmail.com>2014-03-19 14:36:31 -0400
committerbitcoindev <bitcoindev@gnusha.org>2014-03-19 18:37:00 +0000
commitc5c94a199e3d318d6bff2df982f1833a33a1c8ce (patch)
tree7496938bf093460e53d280dd7ff7565776c287cd
parent0f9ba1f9cddd2a95ca30ed2868a3d2a5423cc412 (diff)
downloadpi-bitcoindev-c5c94a199e3d318d6bff2df982f1833a33a1c8ce.tar.gz
pi-bitcoindev-c5c94a199e3d318d6bff2df982f1833a33a1c8ce.zip
Re: [Bitcoin-development] [QT] how to disable block verification for faster UI testing?
-rw-r--r--3b/132b60d6e9317a6262fe987c509511a9f22562188
1 files changed, 188 insertions, 0 deletions
diff --git a/3b/132b60d6e9317a6262fe987c509511a9f22562 b/3b/132b60d6e9317a6262fe987c509511a9f22562
new file mode 100644
index 000000000..ce7b16492
--- /dev/null
+++ b/3b/132b60d6e9317a6262fe987c509511a9f22562
@@ -0,0 +1,188 @@
+Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
+ helo=mx.sourceforge.net)
+ by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
+ (envelope-from <gubatron@gmail.com>) id 1WQLMK-0005J8-85
+ for bitcoin-development@lists.sourceforge.net;
+ Wed, 19 Mar 2014 18:37:00 +0000
+Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of gmail.com
+ designates 209.85.216.46 as permitted sender)
+ client-ip=209.85.216.46; envelope-from=gubatron@gmail.com;
+ helo=mail-qa0-f46.google.com;
+Received: from mail-qa0-f46.google.com ([209.85.216.46])
+ by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
+ (Exim 4.76) id 1WQLMG-0003h0-Q2
+ for bitcoin-development@lists.sourceforge.net;
+ Wed, 19 Mar 2014 18:37:00 +0000
+Received: by mail-qa0-f46.google.com with SMTP id i13so9058540qae.33
+ for <bitcoin-development@lists.sourceforge.net>;
+ Wed, 19 Mar 2014 11:36:51 -0700 (PDT)
+X-Received: by 10.229.221.1 with SMTP id ia1mr10160713qcb.6.1395254211294;
+ Wed, 19 Mar 2014 11:36:51 -0700 (PDT)
+MIME-Version: 1.0
+Received: by 10.140.90.105 with HTTP; Wed, 19 Mar 2014 11:36:31 -0700 (PDT)
+In-Reply-To: <CA+s+GJDZGS5Mm-hcZ8r6OevEGvULH67HOG99TeCRX7cMoeyf7A@mail.gmail.com>
+References: <CADZB0_aSpu7v0bVV6Po0RonobGVreWTLN7Mya687PbP2t_-oZg@mail.gmail.com>
+ <CA+s+GJDZGS5Mm-hcZ8r6OevEGvULH67HOG99TeCRX7cMoeyf7A@mail.gmail.com>
+From: Angel Leon <gubatron@gmail.com>
+Date: Wed, 19 Mar 2014 14:36:31 -0400
+Message-ID: <CADZB0_byfS8_8qZ+w-GGBzFYCdeD+v+YGWVVg5dx5bRcxWHZWg@mail.gmail.com>
+To: Wladimir <laanwj@gmail.com>
+Content-Type: multipart/alternative; boundary=001a11344280a2bf6f04f4f9ef0a
+X-Spam-Score: -0.6 (/)
+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
+ (gubatron[at]gmail.com)
+ -0.0 SPF_PASS SPF: sender matches SPF record
+ 1.0 HTML_MESSAGE BODY: HTML included in message
+ -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
+ author's domain
+ 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: 1WQLMG-0003h0-Q2
+Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
+Subject: Re: [Bitcoin-development] [QT] how to disable block verification
+ for faster UI testing?
+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: Wed, 19 Mar 2014 18:37:00 -0000
+
+--001a11344280a2bf6f04f4f9ef0a
+Content-Type: text/plain; charset=ISO-8859-1
+
+"If you have database problems are you perhaps switching between 0.8.x and
+0.9.x with the same directory?"
+I think that may have been the issue.
+
+Maybe now that I have a 0.9.0 official binary, when I switch to the source
+builds I won't have the issue.
+
+However, I think I'll do what you do and have separate bitcoin data
+directories, that's probably the best.
+
+not trying to test anything specifically, just codign, building, launching
+over and over, would like to make the startup of the Qt client faster.
+
+http://twitter.com/gubatron
+
+
+On Wed, Mar 19, 2014 at 2:22 PM, Wladimir <laanwj@gmail.com> wrote:
+
+>
+> On Wed, Mar 19, 2014 at 6:27 PM, Angel Leon <gubatron@gmail.com> wrote:
+>
+>> the command line options mention a -checklevel parameter.
+>> I've been passing 0 assuming there'd be little to no verification, but
+>> it's happened a few times that when I open the official binary (while not
+>> doing development) there's some sort of database corruption and Bitcoin-Qt
+>> needs to reindex blocks on disk, a process that can take probably a whole
+>> day.
+>>
+>> how do you guys develop the UI and avoid these issues?
+>>
+>
+> In general I do very little with the database while developing the UI. I
+> have various seperate bitcoin data directories (both testnet and mainnet)
+> to try things out. Before doing something risky I just make a copy.
+>
+> These days I also do a lot of development with -regtest, as it allows
+> quickly setting up test scenarios.
+>
+> What are you trying to test specifically? The progress bar while
+> reindexing?
+>
+> If you have database problems are you perhaps switching between 0.8.x and
+> 0.9.x with the same directory? In that case see the downgrading warning
+> here: https://bitcoin.org/bin/0.9.0/README.txt .
+>
+> Wladimir
+>
+>
+
+--001a11344280a2bf6f04f4f9ef0a
+Content-Type: text/html; charset=ISO-8859-1
+Content-Transfer-Encoding: quoted-printable
+
+<div dir=3D"ltr">&quot;<span style=3D"font-family:arial,sans-serif;font-siz=
+e:13px">If you have database problems are you perhaps switching between 0.8=
+.x and 0.9.x with the same directory?&quot;<br>I think that may have been t=
+he issue.<br>
+
+<br>Maybe now that I have a 0.9.0 official binary, when I switch to the sou=
+rce builds I won&#39;t have the issue.<br><br>However, I think I&#39;ll do =
+what you do and have separate bitcoin data directories, that&#39;s probably=
+ the best.<br>
+
+<br>not trying to test anything specifically, just codign, building, launch=
+ing over and over, would like to make the startup of the Qt client faster.<=
+/span></div><div class=3D"gmail_extra"><br clear=3D"all"><div><a href=3D"ht=
+tp://twitter.com/gubatron" target=3D"_blank">http://twitter.com/gubatron</a=
+><br>
+
+</div>
+<br><br><div class=3D"gmail_quote">On Wed, Mar 19, 2014 at 2:22 PM, Wladimi=
+r <span dir=3D"ltr">&lt;<a href=3D"mailto:laanwj@gmail.com" target=3D"_blan=
+k">laanwj@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
+te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
+>
+
+<div dir=3D"ltr"><br><div class=3D"gmail_extra"><div class=3D"gmail_quote">=
+<div><div class=3D"h5">On Wed, Mar 19, 2014 at 6:27 PM, Angel Leon <span di=
+r=3D"ltr">&lt;<a href=3D"mailto:gubatron@gmail.com" target=3D"_blank">gubat=
+ron@gmail.com</a>&gt;</span> wrote:<br>
+
+
+
+<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
+left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">the comm=
+and line options mention a -checklevel =A0parameter.<br>I&#39;ve been passi=
+ng 0 assuming there&#39;d be little to no verification, but it&#39;s happen=
+ed a few times that when I open the official binary (while not doing develo=
+pment) there&#39;s some sort of database corruption and Bitcoin-Qt needs to=
+ reindex blocks on disk, a process that can take probably a whole day.<br>
+
+
+
+
+
+<br>how do you guys develop the UI and avoid these issues?<br></div></block=
+quote><div><br></div></div></div><div>In general I do very little with the =
+database while developing the UI. I have various seperate bitcoin data dire=
+ctories (both testnet and mainnet) to try things out. Before doing somethin=
+g risky I just make a copy.<br>
+
+
+
+<br></div><div>These days I also do a lot of development with -regtest, as =
+it allows quickly setting up test scenarios.<br></div><div><br></div><div>W=
+hat are you trying to test specifically? The progress bar while reindexing?=
+<br>
+
+
+
+<br></div><div>If you have database problems are you perhaps switching betw=
+een 0.8.x and 0.9.x with the same directory? In that case see the downgradi=
+ng warning here: <a href=3D"https://bitcoin.org/bin/0.9.0/README.txt" targe=
+t=3D"_blank">https://bitcoin.org/bin/0.9.0/README.txt</a> .<span class=3D"H=
+OEnZb"><font color=3D"#888888"><br>
+
+
+</font></span></div><span class=3D"HOEnZb"><font color=3D"#888888"><div><br=
+>Wladimir<br><br></div></font></span></div></div></div>
+</blockquote></div><br></div>
+
+--001a11344280a2bf6f04f4f9ef0a--
+
+