<p>I'm fairly certain that learning more about mining and proof-of-work in general will help answer most of your questions, but I thought I'd get you started.</p>

<blockquote>
  <p>What does the process of finding unconfirmed transactions and submitting them into the blockchain look like?</p>
</blockquote>

<p>This is mining.  It means taking unconfirmed transactions, checking if they are valid, grouping them into a block, and performing a proof-of-work on that block.  Miners don't have to "find" unconfirmed transactions; the transactions come to them.  Anyone who is listening on the Bitcoin network will see new transactions as they are broadcast.</p>

<blockquote>
  <p>Is confirming transactions just as expensive as minting new coins?</p>
</blockquote>

<p>Confirming transactions <em>is</em> mining.  A confirmation is the inclusion of a transaction into a block.  You may have meant <em>validating</em> transactions, meaning checking if a transaction is valid.  In this case, no, validating a transaction is not an expensive operations.  It's simply checking that the transaction conforms to a standard and is not attempting to spend money that has already been spent.</p>

<blockquote>
  <p>Does bitcoin core's bitcoind expose unconfirmed transactions?</p>
</blockquote>

<p>Yes.  You can use <code>getrawmempool</code> to see the transactions still in the mempool.</p>

<blockquote>
  <p>How do unconfirmed transactions get submitted into the blockchain?</p>
</blockquote>

<p>The user who creates the transaction broadcasts it to the network, and then miners include it in a block.</p>

CC BY-SA 3.0
2017-12-15T21:11:13.933Z
Thanks for the info; I will definitely read up some more on mining and proof-of-work.  Additional questions your response prompted are: How is a new block created?  Who is allowed to create a new block?  How is the block -- not just a transaction -- broadcast to the network?  Thanks!
berto
CC BY-SA 3.0
2017-12-15T21:13:06.480Z
I marked your question as a duplicate.  Read the duplicate question and It's answers.  That should tell you what you want.
Jestin
CC BY-SA 3.0
2017-12-15T21:37:25.867Z
Yep, I just read it, and the pieces are coming together.  As I understand it now "mining" is finding the block, or the box that a bunch of transactions go in.  And, in order to incentivize, finding a block currently carries a reward.
berto
CC BY-SA 3.0
2017-12-16T12:58:03.763Z
Thank you for the `getrawmempool` command!
berto
CC BY-SA 3.0
2017-12-15T19:58:47.187Z
2017-12-15T19:58:47.187Z
Jestin
<p>I'm looking to understand how minting new bitcoins and processing transactions relate on the bitcoin network.</p>

<p>It seems that the term "miner" may refer to machines looking to mint new coins and machines processing transactions.</p>

<p>I can't find any information on whether submitting transactions is directly tied to minting coins.</p>

<p>I'm interested in processing pending transactions.  What does the process of finding unconfirmed transactions and submitting them into the blockchain look like?  Is confirming transactions just as expensive as minting new coins?</p>

<p>Does bitcoin core's <code>bitcoind</code> expose unconfirmed transactions?</p>

<p>How do unconfirmed transactions get submitted into the blockchain?</p>

<p>Thank you!</p>

<transactions><blockchain>
finding new bitcoins vs processing transactions
berto
# finding new bitcoins vs processing transactions

(Asked by: username_0 on 2017-12-15)

I'm looking to understand how minting new bitcoins and processing transactions relate on the bitcoin network.

It seems that the term "miner" may refer to machines looking to mint new coins and machines processing transactions.

I can't find any information on whether submitting transactions is directly tied to minting coins.

I'm interested in processing pending transactions. What does the process of finding unconfirmed transactions and submitting them into the blockchain look like? Is confirming transactions just as expensive as minting new coins?

Does bitcoin core's `bitcoind` expose unconfirmed transactions?

How do unconfirmed transactions get submitted into the blockchain?

Thank you!

**Tags:** transactions, blockchain


---

## 1 answers

### Answer by username_1 on 2017-12-15. Score: 0

I'm fairly certain that learning more about mining and proof-of-work in general will help answer most of your questions, but I thought I'd get you started.

> What does the process of finding unconfirmed transactions and submitting them into the blockchain look like?

This is mining. It means taking unconfirmed transactions, checking if they are valid, grouping them into a block, and performing a proof-of-work on that block. Miners don't have to "find" unconfirmed transactions; the transactions come to them. Anyone who is listening on the Bitcoin network will see new transactions as they are broadcast.

> Is confirming transactions just as expensive as minting new coins?

Confirming transactions *is* mining. A confirmation is the inclusion of a transaction into a block. You may have meant *validating* transactions, meaning checking if a transaction is valid. In this case, no, validating a transaction is not an expensive operations. It's simply checking that the transaction conforms to a standard and is not attempting to spend money that has already been spent.

> Does bitcoin core's bitcoind expose unconfirmed transactions?

Yes. You can use `getrawmempool` to see the transactions still in the mempool.

> How do unconfirmed transactions get submitted into the blockchain?

The user who creates the transaction broadcasts it to the network, and then miners include it in a block.

> **Comments:**
> **username_0**: Thanks for the info; I will definitely read up some more on mining and proof-of-work.  Additional questions your response prompted are: How is a new block created?  Who is allowed to create a new block?  How is the block -- not just a transaction -- broadcast to the network?  Thanks!  
> **username_1**: I marked your question as a duplicate.  Read the duplicate question and It's answers.  That should tell you what you want.  
> **username_0**: Yep, I just read it, and the pieces are coming together.  As I understand it now "mining" is finding the block, or the box that a bunch of transactions go in.  And, in order to incentivize, finding a block currently carries a reward.  
> **username_0**: Thank you for the `getrawmempool` command!  

---

