Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 28: [PATCH 28/68] fix(wallet): secure asynchronous sweep cancellation

src/key_io.h

Before: src/key_io.h · After: src/key_io.h

File metadata
index e387273e548a3691f3e9063bdba0b5d69b3f9d86..49425c192152beef98c0c745e755c3d74009eef2 100644

Download original patch · Release notes

Diff rows 1–12 of 12. 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/key_io.h CHANGED
@@ -10,10 +10,12 @@
10
10
  #include <chainparams.h>
11
11
  #include <key.h>
12
12
  #include <pubkey.h>
13
+ #include <support/allocators/secure.h>
13
14
 
14
15
  #include <string>
15
16
 
16
17
  CKey DecodeSecret(const std::string& str);
18
+ CKey DecodeSecret(const SecureString& str);
17
19
  std::string EncodeSecret(const CKey& key);
18
20
 
19
21
  CExtKey DecodeExtKey(const std::string& str);