LCOV - code coverage report
Current view: top level - src/wallet - external_signer_scriptpubkeyman.h (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 1 2 50.0 %
Date: 2022-04-21 14:51:19 Functions: 1 2 50.0 %
Legend: Modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed

Not modified by patch:
Lines: hit not hit | Branches: + taken - not taken # not executed
Branches: 0 0 -

           Branch data     Line data    Source code
#       1                 :            : // Copyright (c) 2019-2021 The Bitcoin Core developers
#       2                 :            : // Distributed under the MIT software license, see the accompanying
#       3                 :            : // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#       4                 :            : 
#       5                 :            : #ifndef BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H
#       6                 :            : #define BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H
#       7                 :            : 
#       8                 :            : #include <wallet/scriptpubkeyman.h>
#       9                 :            : 
#      10                 :            : #include <memory>
#      11                 :            : 
#      12                 :            : namespace wallet {
#      13                 :            : class ExternalSignerScriptPubKeyMan : public DescriptorScriptPubKeyMan
#      14                 :            : {
#      15                 :            :   public:
#      16                 :            :   ExternalSignerScriptPubKeyMan(WalletStorage& storage, WalletDescriptor& descriptor)
#      17                 :            :       :   DescriptorScriptPubKeyMan(storage, descriptor)
#      18                 :          0 :       {}
#      19                 :            :   ExternalSignerScriptPubKeyMan(WalletStorage& storage)
#      20                 :            :       :   DescriptorScriptPubKeyMan(storage)
#      21                 :          6 :       {}
#      22                 :            : 
#      23                 :            :   /** Provide a descriptor at setup time
#      24                 :            :   * Returns false if already setup or setup fails, true if setup is successful
#      25                 :            :   */
#      26                 :            :   bool SetupDescriptor(std::unique_ptr<Descriptor>desc);
#      27                 :            : 
#      28                 :            :   static ExternalSigner GetExternalSigner();
#      29                 :            : 
#      30                 :            :   bool DisplayAddress(const CScript scriptPubKey, const ExternalSigner &signer) const;
#      31                 :            : 
#      32                 :            :   TransactionError FillPSBT(PartiallySignedTransaction& psbt, const PrecomputedTransactionData& txdata, int sighash_type = 1 /* SIGHASH_ALL */, bool sign = true, bool bip32derivs = false, int* n_signed = nullptr, bool finalize = true) const override;
#      33                 :            : };
#      34                 :            : } // namespace wallet
#      35                 :            : #endif // BITCOIN_WALLET_EXTERNAL_SIGNER_SCRIPTPUBKEYMAN_H

Generated by: LCOV version 0-eol-96201-ge66f56f4af6a