mirror of
https://github.com/eosswedenorg/libantelope
synced 2026-06-17 12:00:02 +02:00
include/libeosio/WIF.hpp: adding prefixes constants.
This commit is contained in:
parent
f8630de098
commit
9114c17315
1 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,14 @@
|
|||
|
||||
namespace libeosio {
|
||||
|
||||
/**
|
||||
* Key prefixes. (strings that is not equal to these prefixes are treated as legacy format.)
|
||||
*/
|
||||
const std::string WIF_PUB_LEG = "EOS";
|
||||
const std::string WIF_PUB_K1 = "PUB_K1_";
|
||||
const std::string WIF_PVT_K1 = "PVT_K1_";
|
||||
|
||||
|
||||
/**
|
||||
* Encode an EC private key to WIF String.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue