<p>Bitcoin core does not provide this functionality (as far as I know). </p>

<p>The <code>mempool</code> is where transactions are stored until they get put into a block. It would be hard to determine you had the correct <code>mempool</code> if you didn't keep track of the whole block chain, though. For example, someone could broadcast an older transaction, and you would have no way to determine that you shouldn't just add it to your <code>mempool</code> if you didn't keep track of the whole block chain. Transactions also have to pass some basic validation before they can be added to the <code>mempool</code>, validation which requires having all the blockchain data.</p>

<p>If there were a program to implement this, it would at least have to process all new blocks as they came in, in order to determine which transactions to take out of the mempool as blocks get solved.</p>

<p>With this said, you can set up a light-weight node that just monitors what transactions are being spread around on the network, but without the full blockchain data you won't be able to validate that the transactions are candidates for inclusion in the next block. </p>

<p>As Amaclin pointed, one such program to do this network watching is </p>

<ul>
<li><a href="https://github.com/sebicas/bitcoin-sniffer" rel="nofollow">https://github.com/sebicas/bitcoin-sniffer</a>.</li>
</ul>

CC BY-SA 3.0
2015-01-30T14:57:35.513Z
2015-01-30T19:38:52.550Z
2015-01-30T19:38:52.550Z
morsecoder
<p>If you're looking for unconfirmed transactions without loading the blockchain, you're going to have to trust someone since you can't verify the transactions yourself. Probably the easiest way to get these transactions is by using a third-party API service.</p>

<p>Blockchain.info provides a very good one here:</p>

<p><a href="https://blockchain.info/unconfirmed-transactions?format=json" rel="nofollow">https://blockchain.info/unconfirmed-transactions?format=json</a></p>

<p>The command line to get this would be something like:</p>

<p><code>curl https://blockchain.info/unconfirmed-transactions?format=json</code></p>

CC BY-SA 3.0
2015-01-30T15:11:06.943Z
2015-01-30T15:11:06.943Z
Jimmy Song
<p>I'm running bitcoind from a small virtual machine on digitialocean.</p>

<p>I'm interested only in looking at the new transactions in <code>bitcoind getrawmempool</code></p>

<p>Is there a way to get these transactions without downloading the whole blockchain?  Currently, I'll need a minimum of 40GB instance to have the whole blockchain on the VM.</p>

CC BY-SA 3.0
2015-01-30T14:35:11.463Z
May be you are looking something like this? https://github.com/sebicas/bitcoin-sniffer You do not need to have bitcoind at all
amaclin
<bitcoind><unconfirmed-transactions><mempool><storage-footprint><getmemorypool>
bitcoind getrawmempool without downloading the full blockchain
Yada
# bitcoind getrawmempool without downloading the full blockchain

(Asked by: username_0 on 2015-01-30)

I'm running bitcoind from a small virtual machine on digitialocean.

I'm interested only in looking at the new transactions in `bitcoind getrawmempool`

Is there a way to get these transactions without downloading the whole blockchain? Currently, I'll need a minimum of 40GB instance to have the whole blockchain on the VM.

**Tags:** bitcoind, unconfirmed-transactions, mempool, storage-footprint, getmemorypool

> **Comments:**
> **username_1**: May be you are looking something like this? https://github.com/sebicas/bitcoin-sniffer You do not need to have bitcoind at all  

---

## 2 answers

### Answer by username_2 on 2015-01-30. Score: 4

Bitcoin core does not provide this functionality (as far as I know).

The `mempool` is where transactions are stored until they get put into a block. It would be hard to determine you had the correct `mempool` if you didn't keep track of the whole block chain, though. For example, someone could broadcast an older transaction, and you would have no way to determine that you shouldn't just add it to your `mempool` if you didn't keep track of the whole block chain. Transactions also have to pass some basic validation before they can be added to the `mempool`, validation which requires having all the blockchain data.

If there were a program to implement this, it would at least have to process all new blocks as they came in, in order to determine which transactions to take out of the mempool as blocks get solved.

With this said, you can set up a light-weight node that just monitors what transactions are being spread around on the network, but without the full blockchain data you won't be able to validate that the transactions are candidates for inclusion in the next block.

As Amaclin pointed, one such program to do this network watching is

* <https://github.com/sebicas/bitcoin-sniffer>.


---

### Answer by username_3 on 2015-01-30. Score: 3

If you're looking for unconfirmed transactions without loading the blockchain, you're going to have to trust someone since you can't verify the transactions yourself. Probably the easiest way to get these transactions is by using a third-party API service.

Blockchain.info provides a very good one here:

<https://blockchain.info/unconfirmed-transactions?format=json>

The command line to get this would be something like:

`curl https://blockchain.info/unconfirmed-transactions?format=json`


---

