rename parse_tx_set() to describe_tx_set()

This commit is contained in:
woodser
2021-02-28 09:54:25 -05:00
parent c873ea661d
commit a317f1c09c
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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");
}
/**
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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;