Skip to content

TransactionPool

gtygo edited this page May 14, 2019 · 1 revision

Transaction Pool


Transaction Structure

type description
hash transaction hash
version version number
vin UTXO array needed for this transaction
vout array of transaction output
Data transaction data
magic magic number
locktime lock time

After receiving the new transactions, we will cache the transaction in the transaction pool and wait for the miner to package it.

If the parent of the transaction exists in the transaction pool, then the transaction is placed directly into the transaction pool. Otherwise put it in an orphan pool and finally process these transactions。

Orphan transaction : Due to network delay, the received transaction may be a transaction that references a transaction that has not been added to the transaction pool for the time being.

Here is a activity diagram of this Transaction pool processing:

avator

Clone this wiki locally