#include <tx_mempool.h>
Public Member Functions | |
| TxMempool () | |
| ~TxMempool () | |
| int64_t | AddUTXO (const UTXO &utxo) |
| int64_t | GetUTXOOutValue (int64_t id, int out_idx, const std::string &address) |
| absl::StatusOr< UTXOOut > | GetUTXO (int64_t id, int out_idx, const std::string &address) |
| int64_t | MarkSpend (int64_t id, int out_idx, const std::string &address) |
| std::vector< UTXO > | GetUTXO (int64_t end_idx, int num) |
Definition at line 28 of file tx_mempool.h.
| resdb::utxo::TxMempool::TxMempool | ( | ) |
Definition at line 27 of file tx_mempool.cpp.
| resdb::utxo::TxMempool::~TxMempool | ( | ) |
Definition at line 28 of file tx_mempool.cpp.
| int64_t resdb::utxo::TxMempool::AddUTXO | ( | const UTXO & | utxo | ) |
Definition at line 30 of file tx_mempool.cpp.
| std::vector< UTXO > resdb::utxo::TxMempool::GetUTXO | ( | int64_t | end_idx, |
| int | num | ||
| ) |
Definition at line 107 of file tx_mempool.cpp.
| absl::StatusOr< UTXOOut > resdb::utxo::TxMempool::GetUTXO | ( | int64_t | id, |
| int | out_idx, | ||
| const std::string & | address | ||
| ) |
Definition at line 37 of file tx_mempool.cpp.
| int64_t resdb::utxo::TxMempool::GetUTXOOutValue | ( | int64_t | id, |
| int | out_idx, | ||
| const std::string & | address | ||
| ) |
Definition at line 64 of file tx_mempool.cpp.
| int64_t resdb::utxo::TxMempool::MarkSpend | ( | int64_t | id, |
| int | out_idx, | ||
| const std::string & | address | ||
| ) |
Definition at line 90 of file tx_mempool.cpp.