| DisconnectedBlockTransactions
|
| During the reorg, it’s desirable to
| re-add previously confirmed transactions
| to the mempool, so that anything not
| re-confirmed in the new chain is available
| to be mined. However, it’s more efficient
| to wait until the reorg is complete and
| process all still-unconfirmed transactions
| at that time, since we expect most confirmed
| transactions to (typically) still
| be confirmed in the new chain, and re-accepting
| to the memory pool is expensive (and
| therefore better to not do in the middle
| of reorg-processing).
|
| Instead, store the disconnected transactions
| (in order!) as we go, remove any that
| are included in blocks in the new chain,
| and then process the remaining still-unconfirmed
| transactions at the end.
|
| Dummy signature checker which accepts
| all signatures.
|
| A mutable version of CTransaction.
|
| Metadata describing a serialized version
| of a UTXO set from which an assumeutxo
|
| ChainState can be constructed.
|
| The basic transaction that is broadcasted
| on the network and contained in blocks.
| A transaction can contain multiple
| inputs and outputs.
|
| Wrapper that serializes like CTransaction,
| but with the modifications required
| for the signature hash done in-place
|
| An input of a transaction. It contains
| the location of the previous transaction’s
| output that it claims and a signature
| that matches the output’s public key.
|
| An output of a transaction. It contains
| the public key that the next input must
| be able to sign with to claim it.
|