Add post-quantum address selector to desktop wallet

This commit is contained in:
Capri 2026-09-01 17:57:42 +00:00
commit 31e4f44475
Signed by: VextaProject
SSH key fingerprint: SHA256:739BZv8LvIDY2tR7lXLy/IQ6MaGTQtYcG9GNvCjmpVM
6 changed files with 92 additions and 34 deletions

View file

@ -454,6 +454,10 @@ public:
bool hasExternalSigner() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_EXTERNAL_SIGNER); }
bool privateKeysDisabled() override { return m_wallet->IsWalletFlagSet(WALLET_FLAG_DISABLE_PRIVATE_KEYS); }
OutputType getDefaultAddressType() override { return m_wallet->m_default_address_type; }
bool isPostQuantumActive() override
{
return m_wallet->chain().isDeploymentActive(Consensus::DEPLOYMENT_PQR);
}
CAmount getDefaultMaxTxFee() override { return m_wallet->m_default_max_tx_fee; }
void remove() override
{