mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-16 19:50:01 +02:00
include/libeosio/WIF.hpp: declare all WIF_ constant strings as extern and set them in WIF.cpp
This commit is contained in:
parent
33d3440f53
commit
86d75df2ec
2 changed files with 11 additions and 5 deletions
|
|
@ -30,6 +30,12 @@
|
|||
|
||||
namespace libeosio {
|
||||
|
||||
const std::string WIF_PUB_LEG = "EOS";
|
||||
const std::string WIF_PUB_K1 = "PUB_K1_";
|
||||
const std::string WIF_PVT_LEG = "";
|
||||
const std::string WIF_PVT_K1 = "PVT_K1_";
|
||||
const std::string WIF_SIG_K1 = "SIG_K1_";
|
||||
|
||||
std::string wif_priv_encode(const ec_privkey_t& priv, const std::string& prefix) {
|
||||
|
||||
checksum_t check;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue