| 44 | } // namespace seria |
| 45 | |
| 46 | BlockChainState::PoolTransaction::PoolTransaction(const Transaction &tx, const BinaryArray &binary_tx, Amount fee, |
| 47 | Timestamp timestamp, const Hash &newest_referenced_block) |
| 48 | : tx(tx) |
| 49 | , binary_tx(binary_tx) |
| 50 | , amount(get_tx_sum_outputs(tx)) |
| 51 | , fee(fee) |
| 52 | , timestamp(timestamp) |
| 53 | , newest_referenced_block(newest_referenced_block) {} |
| 54 | |
| 55 | void BlockChainState::DeltaState::store_keyimage(const KeyImage &key_image, Height height) { |
| 56 | invariant(m_keyimages.insert(std::make_pair(key_image, height)).second, common::pod_to_hex(key_image)); |
nothing calls this directly
no outgoing calls
no test coverage detected