summaryrefslogtreecommitdiff
path: root/8b/9af8fcd985ae652fd89592a6843e28afda9d85
blob: dd205aacf76bd76a5b6ec6f178709b52decec1b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191]
	helo=mx.sourceforge.net)
	by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76)
	(envelope-from <jgarzik@exmulti.com>) id 1TFsow-0008I5-Gv
	for bitcoin-development@lists.sourceforge.net;
	Sun, 23 Sep 2012 20:30:30 +0000
X-ACL-Warn: 
Received: from mail-qc0-f175.google.com ([209.85.216.175])
	by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128)
	(Exim 4.76) id 1TFsos-00061C-6Z
	for bitcoin-development@lists.sourceforge.net;
	Sun, 23 Sep 2012 20:30:30 +0000
Received: by qcad10 with SMTP id d10so4025431qca.34
	for <bitcoin-development@lists.sourceforge.net>;
	Sun, 23 Sep 2012 13:30:20 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=google.com; s=20120113;
	h=mime-version:x-originating-ip:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type:x-gm-message-state;
	bh=iNqqj/aAOveEBrj/cpGieUixahRLsH92oeeRUx1L0M0=;
	b=K5RNlEhpQg9gMsY/dgfNEiAWwI4Ee0LHO/jLjCmIOFrue6gw0q8AIqOi4s9ySvup20
	GxdQlR4+gEWa6wHcCpq7rBN/AZ0UCQOg95zr0Y9kZETneNmxCdb1Gm8DjWqV+lzTcqRh
	xkwjE/LzPYgdSpdDTi87opmJR/UvYU2ab/chatdc/IbviuxSXM6lJRwqzVEnUEbfhpuW
	XzQFbtb6m8bNW6itxu0Sx+Vo0meC4o708xtEkz4glH0SDlVSLFVsw94yCk32g70RrI7Y
	6KYwI1T4dnnMd1wolN1oOdu8BwCraer/XguoJotHXisSiI6SjSgdhlRiz9MlbG5fq0CV
	zF8Q==
MIME-Version: 1.0
Received: by 10.224.213.10 with SMTP id gu10mr28105688qab.10.1348432220676;
	Sun, 23 Sep 2012 13:30:20 -0700 (PDT)
Received: by 10.49.97.6 with HTTP; Sun, 23 Sep 2012 13:30:20 -0700 (PDT)
X-Originating-IP: [2001:4830:1603:2:21c:c0ff:fe79:c8c2]
In-Reply-To: <CANEZrP2r6sVC_63xx6U7XLbFkukrFEhq-mGAse3vHJ6nf3Q1cw@mail.gmail.com>
References: <CANEZrP2r6sVC_63xx6U7XLbFkukrFEhq-mGAse3vHJ6nf3Q1cw@mail.gmail.com>
Date: Sun, 23 Sep 2012 16:30:20 -0400
Message-ID: <CA+8xBpen9o3Oji0ePsbU-ZQCSpFO+tAZt63LaOsR30KULYbUhQ@mail.gmail.com>
From: Jeff Garzik <jgarzik@exmulti.com>
To: Mike Hearn <mike@plan99.net>
Content-Type: text/plain; charset=ISO-8859-1
X-Gm-Message-State: ALoCoQnIZXGQi6pOfww6BdJ1h+kW/UDfSEDVXSTMNK480G0NRriTrsD7VLJ90LXmUS9X+9stqIAF
X-Spam-Score: 0.0 (/)
X-Spam-Report: Spam Filtering performed by mx.sourceforge.net.
	See http://spamassassin.org/tag/ for more details.
X-Headers-End: 1TFsos-00061C-6Z
Cc: Bitcoin Development <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Large backlog of transactions building up?
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: Sun, 23 Sep 2012 20:30:30 -0000

On Sun, Sep 23, 2012 at 8:12 AM, Mike Hearn <mike@plan99.net> wrote:
> Has anyone got long term longs that contain the pool size and timestamps?
>
> Unfortunately I forgot to enable timestamps in the logs for my own
> nodes (the privacy benefit of disabling this by default is
> questionable, imho). But just looking at the general trends and
> cross-checking against my own memory it definitely seems that there
> are more and more pending transactions that don't get cleared into
> blocks.
>
> One of my nodes now routinely has 4000 transactions in the mempool.
> Blocks typically clear only a few hundred at most, which is what you'd
> expect given current transaction rates (around 300 per ten minute
> interval). So what are the other pending transactions doing and why
> aren't they getting drained out of the mempool?

Yeah, my public nodes currently have 2200+  Over time, it gets
cluttered naturally due to the disconnect between what miners mine and
what relayers relay.

I've long argued that all mempool implementations should limit the
lifetime of any TX to a specific number of blocks.  Rationale:
- bitcoin clients retransmit until TX is confirmed
- provides a deterministic lifetime for a TX; if you KNOW a TX will
disappear 144 blocks (24 hours) after you stop transmitting, then it
is probably safe to initiate recovery procedures and perhaps revise
the transaction
- prevents zombie TXs from littering memory... they hang around,
wasting resources, but never get confirmed

No one has strenuously argued against this, so I suppose it is down to
writing a patch, and coming up with a good number we (as a network)
can agree upon.

-- 
Jeff Garzik
exMULTI, Inc.
jgarzik@exmulti.com