gui: apply Feather wallet-API patches for wowlet GUI support

Ports feather-wallet/monero's wallet-layer patches onto wownero so wowlet
(Feather-based) can build against wownero as its monero source. 32 wallet files;
the additive GUI API (TransactionConstructionInfo/PendingTransactionInfo,
offline-tx + key-image helpers, raw wallet2 exposure) applied clean.

12 wallet2.cpp conflicts resolved: kept wownero consensus (ring size 22 /
HF_VERSION_MIN_MIXIN_21, wownero HF schedule, bulletproof_plus_full_commit),
took Feather's wallet improvements (process_outgoing rewrite, tx parse/validate).
Kept the wownero-wallet-rpc build.

WIP: needs CI build + chain testing (real ring-22 / BP+ send) before wowlet trusts it.
This commit is contained in:
jwinterm
2026-06-18 06:40:55 -04:00
parent c85fa8655f
commit 30e1cfecf5
90 changed files with 25057 additions and 23619 deletions
+10
View File
@@ -146,6 +146,16 @@ DISABLE_VS_WARNINGS(4244 4345)
}
}
//-----------------------------------------------------------------
void account_base::set_view_key(const crypto::secret_key &view_secret_key)
{
m_keys.m_view_secret_key = view_secret_key;
}
//-----------------------------------------------------------------
void account_base::forget_view_key()
{
m_keys.m_view_secret_key = crypto::null_skey;
}
//-----------------------------------------------------------------
void account_base::forget_spend_key()
{
m_keys.m_spend_secret_key = crypto::secret_key();
+2
View File
@@ -94,6 +94,8 @@ namespace cryptonote
bool load(const std::string& file_path);
bool store(const std::string& file_path);
void set_view_key(const crypto::secret_key &view_secret_key);
void forget_view_key();
void forget_spend_key();
void set_spend_key(const crypto::secret_key& spend_secret_key);
const std::vector<crypto::secret_key> &get_multisig_keys() const { return m_keys.m_multisig_keys; }
-5
View File
@@ -231,11 +231,6 @@ namespace cryptonote
*/
uint64_t get_window_size() const { return window_size; }
/**
* @brief returns info for all known hard forks
*/
const std::vector<hardfork_t>& get_hardforks() const { return heights; }
private:
uint8_t get_block_version(uint64_t height) const;
+1
View File
@@ -32,6 +32,7 @@
#include "int-util.h"
#include "crypto/crypto.h"
#include "common/util.h"
#include "cryptonote_config.h"
#include "merge_mining.h"
using namespace epee;