| 187 | } |
| 188 | |
| 189 | std::string WalletStateBasic::format_output(const api::Output &v) const { |
| 190 | std::stringstream str; |
| 191 | str << " he=" << v.height << " gi=" << v.global_index << " am=" << m_currency.format_amount(v.amount) |
| 192 | << " si=" << v.stack_index << " ki=" << v.key_image << " addr=" << v.address |
| 193 | << (v.unlock_block_or_timestamp == 0 ? "" : " unl=" + common::to_string(v.unlock_block_or_timestamp)); |
| 194 | return str.str(); |
| 195 | } |
| 196 | |
| 197 | api::BlockHeader WalletStateBasic::fill_genesis(Hash genesis_bid, const BlockTemplate &g) { |
| 198 | api::BlockHeader result; |
nothing calls this directly
no test coverage detected