mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-17 15:21:30 +02:00
rename parse_tx_set() to describe_tx_set()
This commit is contained in:
@@ -888,8 +888,8 @@ namespace monero {
|
||||
* @param tx_set is a tx set containing unsigned or multisig tx hex
|
||||
* @return the parsed tx set containing structured transactions
|
||||
*/
|
||||
virtual monero_tx_set parse_tx_set(const monero_tx_set& tx_set) {
|
||||
throw std::runtime_error("parse_tx_set() not supported");
|
||||
virtual monero_tx_set describe_tx_set(const monero_tx_set& tx_set) {
|
||||
throw std::runtime_error("describe_tx_set() not supported");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -2287,7 +2287,7 @@ namespace monero {
|
||||
return tx_hashes;
|
||||
}
|
||||
|
||||
monero_tx_set monero_wallet_full::parse_tx_set(const monero_tx_set& tx_set) {
|
||||
monero_tx_set monero_wallet_full::describe_tx_set(const monero_tx_set& tx_set) {
|
||||
|
||||
// get unsigned and multisig tx sets
|
||||
std::string unsigned_tx_hex = tx_set.m_unsigned_tx_hex == boost::none ? "" : tx_set.m_unsigned_tx_hex.get();
|
||||
|
||||
@@ -233,7 +233,7 @@ namespace monero {
|
||||
std::shared_ptr<monero_tx_wallet> sweep_output(const monero_tx_config& config) override;
|
||||
std::vector<std::shared_ptr<monero_tx_wallet>> sweep_dust(bool relay = false) override;
|
||||
std::vector<std::string> relay_txs(const std::vector<std::string>& tx_metadatas) override;
|
||||
monero_tx_set parse_tx_set(const monero_tx_set& tx_set) override;
|
||||
monero_tx_set describe_tx_set(const monero_tx_set& tx_set) override;
|
||||
std::string sign_txs(const std::string& unsigned_tx_hex) override;
|
||||
std::vector<std::string> submit_txs(const std::string& signed_tx_hex) override;
|
||||
std::string sign_message(const std::string& msg, monero_message_signature_type signature_type, uint32_t account_idx = 0, uint32_t subaddress_idx = 0) const override;
|
||||
|
||||
Reference in New Issue
Block a user