summaryrefslogtreecommitdiff
path: root/bip-0035.mediawiki
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2013-10-21 00:32:10 -0400
committerPeter Todd <pete@petertodd.org>2013-10-21 00:32:10 -0400
commit1f64d2b06d628dffdc297be9a8afbb9da4e6b6ca (patch)
tree5371678540387f3399091d08b395997677e6e46b /bip-0035.mediawiki
parente81db32a42e95de3abe33a055c61548f2d59a536 (diff)
Rename to mediawiki extension
Diffstat (limited to 'bip-0035.mediawiki')
-rw-r--r--bip-0035.mediawiki45
1 files changed, 45 insertions, 0 deletions
diff --git a/bip-0035.mediawiki b/bip-0035.mediawiki
new file mode 100644
index 0000000..2863f4c
--- /dev/null
+++ b/bip-0035.mediawiki
@@ -0,0 +1,45 @@
+{{bip}}
+
+<pre>
+ BIP: 35
+ Title: mempool message
+ Author: Jeff Garzik <jgarzik@exmulti.com>
+ Status: Accepted
+ Type: Standards Track
+ Created: 2012-08-16
+</pre>
+
+==Abstract==
+
+Make a network node's transaction memory pool accessible via a new "mempool" message. Extend the existing "getdata" message behavior to permit accessing the transaction memory pool.
+
+==Motivation==
+
+Several use cases make it desireable to expose a network node's transaction memory pool:
+# SPV clients, wishing to obtain zero-confirmation transactions sent or received.
+# Miners, to avoid missing lucrative fees, downloading existing network transactions after a restart.
+# Remote network diagnostics.
+
+==Specification==
+
+# The mempool message is defined as an empty message where pchCommand == "mempool"
+# Upon receipt of a "mempool" message, the node will respond with an "inv" message containing MSG_TX hashes of all the transactions in the node's transaction memory pool, if any.
+# The typical node behavior in response to an "inv" is "getdata". However, the reference Satoshi implementation ignores requests for transaction hashes outside that which is recently relayed. To support "mempool", an implementation must extend its "getdata" message support to querying the memory pool.
+# Feature discovery is enabled by checking two "version" message attributes:
+## Protocol version >= 60002
+## NODE_NETWORK bit set in nServices
+
+Note that existing implementations drop "inv" messages with a vector size > 50000.
+
+==Backward compatibility==
+
+Older clients remain 100% compatible and interoperable after this change.
+
+==Implementation==
+
+https://github.com/bitcoin/bitcoin/pull/1641
+
+[[Category:Developer]]
+[[Category:Technical]]
+[[Category:BIP|D]]
+