wallet: Make CWalletTx "from" and "message" member variables

Instead of storing "from" and "message" inside of mapValue, store these
explicitly as members of CWalletTx.
This commit is contained in:
Ava Chow
2025-06-16 15:03:00 -07:00
parent c6ba98dcc8
commit 2155e913d3
6 changed files with 30 additions and 14 deletions

View File

@@ -391,6 +391,8 @@ struct WalletTx
CAmount debit;
CAmount change;
int64_t time;
std::optional<std::string> from; // Deprecated
std::optional<std::string> message; // Deprecated
std::map<std::string, std::string> value_map;
bool is_coinbase;