mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
* Refactoring to generalize wizard layout * Wallet: Add intermediate signing options view * Update BTCPayServer/Views/Wallets/WalletSigningOptions.cshtml Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com> * Skip signing options for hot wallets * Update signing options wordings, add PSBT doc link * Fix test * Remove form route params * Use decode command for PSBT Co-authored-by: britttttk <39231115+britttttk@users.noreply.github.com>
23 lines
564 B
C#
23 lines
564 B
C#
using NBitcoin;
|
|
|
|
namespace BTCPayServer.Models.WalletViewModels
|
|
{
|
|
public class SigningContextModel
|
|
{
|
|
public SigningContextModel()
|
|
{
|
|
|
|
}
|
|
public SigningContextModel(PSBT psbt)
|
|
{
|
|
PSBT = psbt.ToBase64();
|
|
}
|
|
public string PSBT { get; set; }
|
|
public string OriginalPSBT { get; set; }
|
|
public string PayJoinBIP21 { get; set; }
|
|
public bool? EnforceLowR { get; set; }
|
|
public string ChangeAddress { get; set; }
|
|
public bool NBXSeedAvailable { get; set; }
|
|
}
|
|
}
|