Decouple taproot activation from support in generate wallet (#2837)

This commit is contained in:
Nicolas Dorier
2021-09-04 22:07:09 +09:00
committed by GitHub
parent 1422bd8540
commit e584ebe7de
7 changed files with 79 additions and 54 deletions

View File

@@ -39,8 +39,10 @@ namespace BTCPayServer.Models.StoreViewModels
public bool CanUseHotWallet { get; set; }
[Display(Name = "Can use RPC import")]
public bool CanUseRPCImport { get; set; }
[Display(Name = "Can use Taproot")]
public bool CanUseTaproot { get; set; }
public bool SupportSegwit { get; set; }
public bool SupportTaproot { get; set; }
[Display(Name = "Is taproot activated")]
public bool IsTaprootActivated { get; set; }
public RootedKeyPath GetAccountKeypath()
{
if (KeyPath != null && RootFingerprint != null &&