diff --git a/src/utils/MoneroUtils.cpp b/src/utils/MoneroUtils.cpp index 6803ebf..1a498d5 100644 --- a/src/utils/MoneroUtils.cpp +++ b/src/utils/MoneroUtils.cpp @@ -85,3 +85,15 @@ string MoneroUtils::serialize(const MoneroSubaddress& subaddress) { string MoneroUtils::serialize(const MoneroBlock& block) { throw runtime_error("serialize(block) not implemented"); } + +MoneroTx MoneroUtils::deserializeTx(const string& txStr) { + throw runtime_error("deserializeTxWallet(txStr) not implemented"); +} + +MoneroTxWallet MoneroUtils::deserializeTxWallet(const string& txStr) { + throw runtime_error("deserializeTxWallet(txStr) not implemented"); +} + +MoneroTxRequest MoneroUtils::deserializeTxRequest(const string& txRequestStr) { + throw runtime_error("deserializeTxRequest(txRequestStr) not implemented"); +} diff --git a/src/utils/MoneroUtils.h b/src/utils/MoneroUtils.h index d161ccf..5f80fdb 100644 --- a/src/utils/MoneroUtils.h +++ b/src/utils/MoneroUtils.h @@ -33,6 +33,12 @@ namespace MoneroUtils string serialize(const MoneroBlock& block); + MoneroTx deserializeTx(const string& txStr); + + MoneroTxWallet deserializeTxWallet(const string& txStr); + + MoneroTxRequest deserializeTxRequest(const string& txRequestStr); + /** * Modified from core_rpc_server.cpp to return a string. *