Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 49: [PATCH 49/68] wallet: snapshot sweep fee settings under lock

src/wallet/spend.h

Before: src/wallet/spend.h · After: src/wallet/spend.h

File metadata
index 73501e31e406c6e1ef090d0517874824e8c1b0b7..8285304b3d4b40731e2176f5481b2228220883fa 100644

Download original patch · Release notes

Diff rows 1–16 of 16. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/wallet/spend.h CHANGED
@@ -23,7 +23,7 @@
23
23
  class COutPoint;
24
24
  class Coin;
25
25
  class CScript;
26
- struct FlatSigningProvider;
26
+ class SigningProvider;
27
27
 
28
28
  namespace interfaces {
29
29
  class SweepAuthorization;
@@ -40,7 +40,7 @@ struct SweepTransactionResult
40
40
  };
41
41
 
42
42
  using SweepBroadcastFn = std::function<bool(const CTransactionRef&, std::string&)>;
43
- util::Result<SweepTransactionResult> CreateSweepTransaction(CWallet& wallet, FlatSigningProvider& provider,
43
+ util::Result<SweepTransactionResult> CreateSweepTransaction(CWallet& wallet, const SigningProvider& provider,
44
44
  const std::map<COutPoint, Coin>& coins,
45
45
  const CScript& destination, const SweepBroadcastFn& broadcast,
46
46
  interfaces::SweepAuthorization& authorization);