aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_basic_impl.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-02-02 18:24:08 +0200
committerRiccardo Spagni <ric@spagni.net>2017-02-02 18:24:08 +0200
commitca2e2c2453f0110f7d32d41abe5029c2e108a0a7 (patch)
tree2662ab474f117cd5630b3b20a0a46140220f3434 /src/cryptonote_core/cryptonote_basic_impl.h
parentcc03036e3eb614a64fe8b88ba15a36fd607c9ac4 (diff)
parent55a8e982c0b34cd62d1ad1eb83d0683d5291f322 (diff)
downloadmonzero-core-ca2e2c2453f0110f7d32d41abe5029c2e108a0a7.tar.gz
monzero-core-ca2e2c2453f0110f7d32d41abe5029c2e108a0a7.tar.xz
monzero-core-ca2e2c2453f0110f7d32d41abe5029c2e108a0a7.zip
Merge pull request #1627
55a8e982 moved get_account_address_from_str_or_url from libcommon to libcryptonote_core (kenshi84)
Diffstat (limited to 'src/cryptonote_core/cryptonote_basic_impl.h')
-rw-r--r--src/cryptonote_core/cryptonote_basic_impl.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_basic_impl.h b/src/cryptonote_core/cryptonote_basic_impl.h
index 147bc89ba..5703a7d75 100644
--- a/src/cryptonote_core/cryptonote_basic_impl.h
+++ b/src/cryptonote_core/cryptonote_basic_impl.h
@@ -100,6 +100,20 @@ namespace cryptonote {
, const std::string& str
);
+ bool get_account_address_from_str_or_url(
+ cryptonote::account_public_address& address
+ , bool& has_payment_id
+ , crypto::hash8& payment_id
+ , bool testnet
+ , const std::string& str_or_url
+ );
+
+ bool get_account_address_from_str_or_url(
+ cryptonote::account_public_address& address
+ , bool testnet
+ , const std::string& str_or_url
+ );
+
bool is_coinbase(const transaction& tx);
bool operator ==(const cryptonote::transaction& a, const cryptonote::transaction& b);