You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright (c) 2014-2019 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
+
#include"key_io.h"
6
+
7
+
#include"base58.h"
8
+
#include<boost/variant/apply_visitor.hpp>
9
+
#include<boost/variant/static_visitor.hpp>
10
+
11
+
#include<assert.h>
12
+
#include<string.h>
13
+
#include<algorithm>
14
+
15
+
std::string EncodeSecret(const CKey& key)
16
+
{
17
+
assert(key.IsValid());
18
+
std::vector<unsignedchar> data = Params().Base58Prefix(CChainParams::SECRET_KEY);
// Copyright (c) 2009-2018 The Bitcoin Core developers
3
+
// Distributed under the MIT software license, see the accompanying
4
+
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
0 commit comments