2021-07-19 20:42:38 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <crypto/crypto.h>
|
2023-04-13 15:50:13 +02:00
|
|
|
#include <cryptonote_basic/cryptonote_basic.h>
|
2021-07-19 20:42:38 +02:00
|
|
|
#include <ringct/rctTypes.h>
|
2023-04-13 15:50:13 +02:00
|
|
|
|
2021-07-19 20:42:38 +02:00
|
|
|
#include <device/device.hpp>
|
|
|
|
|
2023-04-13 15:50:13 +02:00
|
|
|
namespace wallet25 {
|
|
|
|
uint64_t output_amount(
|
|
|
|
const rct::rctSig& rv,
|
|
|
|
const crypto::key_derivation& derivation,
|
|
|
|
unsigned int i,
|
|
|
|
rct::key& mask,
|
|
|
|
hw::device& hwdev);
|
2021-07-19 20:42:38 +02:00
|
|
|
|
2023-04-13 15:50:13 +02:00
|
|
|
crypto::hash tx_hash(const cryptonote::transaction& tx);
|
2021-07-19 20:42:38 +02:00
|
|
|
|
2023-04-13 15:50:13 +02:00
|
|
|
cryptonote::transaction tx_from_blob(const std::string_view blob);
|
2021-07-19 20:42:38 +02:00
|
|
|
|
2023-04-13 15:50:13 +02:00
|
|
|
} // namespace wallet25
|