Skip to content
Bitcoin Roots

v31.1-roots.1 · Commit 6: [PATCH 06/17] feat(wallet): preserve Roots signing and spend controls on v31

src/key_io.h

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

File metadata
index adc801378cd0d6f4c1886670bc72aa37a1935457..8b8c42726e824ee31ba1e7b1715a5d28242bab4c 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. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

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