<p>When a transaction is submitted, it is loaded into the node's mempool. This is like a waiting room for transactions that haven't yet made it on the blockchain. Whether the node is daedalus, or a stakepool, the nodes communicate with each other using the TxSubmission mini-protocol. New transactions are sent to all other nodes in the network.</p>
<p>Once a stakepool has been elected to make a block, it drains its mempool while validating all the transactions. It will fill up the block with all the transactions or until 65536 bytes (the current max block size which could be increased in the future).</p>
<p>That block is published on the blockchain. The BlockSync mini-protocol transmits the block until it propagates to all nodes. All nodes process the transactions in the block and remove any transactions from their mempool that have made it into the block.</p>
<p><a href="https://i.sstatic.net/egRlv.png" rel="noreferrer"><img src="https://i.sstatic.net/egRlv.png" alt="mempool chart" /></a></p>

CC BY-SA 4.0
2021-05-02T18:04:47.627Z
Thanks for the great answer :)
Isaac Padberg
CC BY-SA 4.0
2021-05-01T01:53:25.573Z
2021-05-01T01:53:25.573Z
Andrew Westberg - BCSH
<p>I'm wondering what the exact chain of events looks like once a transaction is submitted.</p>

CC BY-SA 4.0
2021-04-30T22:01:43.990Z
Welcome to our new community! It's generally a good idea to show what research you've done on your own so far, so a 1-line question like this doesn't look like a "low-effort question".
Nike Dattani
<transaction><node>
What events are kicked off when a transaction is submitted?
# What events are kicked off when a transaction is submitted?

(Asked by: username_0 on 2021-04-30)

I'm wondering what the exact chain of events looks like once a transaction is submitted.

**Tags:** transaction, node
> **Comments:**
> **username_1**: Welcome to our new community! It's generally a good idea to show what research you've done on your own so far, so a 1-line question like this doesn't look like a "low-effort question".  

---

## 1 answers

### Answer by username_2 on 2021-05-01. Score: 15 | Accepted answer

When a transaction is submitted, it is loaded into the node's mempool. This is like a waiting room for transactions that haven't yet made it on the blockchain. Whether the node is daedalus, or a stakepool, the nodes communicate with each other using the TxSubmission mini-protocol. New transactions are sent to all other nodes in the network.

Once a stakepool has been elected to make a block, it drains its mempool while validating all the transactions. It will fill up the block with all the transactions or until 65536 bytes (the current max block size which could be increased in the future).

That block is published on the blockchain. The BlockSync mini-protocol transmits the block until it propagates to all nodes. All nodes process the transactions in the block and remove any transactions from their mempool that have made it into the block.

[![mempool chart](https://i.sstatic.net/egRlv.png)](https://i.sstatic.net/egRlv.png)

> **Comments:**
> **username_0**: Thanks for the great answer :)  

---

