* Information about a mempool transaction. */
| 377 | * Information about a mempool transaction. |
| 378 | */ |
| 379 | struct TxMempoolInfo |
| 380 | { |
| 381 | /** The transaction itself */ |
| 382 | CTransactionRef tx; |
| 383 | |
| 384 | /** Time the transaction entered the mempool. */ |
| 385 | std::chrono::seconds m_time; |
| 386 | |
| 387 | /** Fee of the transaction. */ |
| 388 | CAmount fee; |
| 389 | |
| 390 | /** Virtual size of the transaction. */ |
| 391 | size_t vsize; |
| 392 | |
| 393 | /** The fee delta. */ |
| 394 | int64_t nFeeDelta; |
| 395 | |
| 396 | /** ELEMENTS: Discounted CT size. */ |
| 397 | size_t discountvsize; |
| 398 | }; |
| 399 | |
| 400 | /** Reason why a transaction was removed from the mempool, |
| 401 | * this is passed to the notification signal. |