diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-06 18:51:36 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-06-06 18:51:36 +0100 |
commit | c5f00bc7515250e1c4c71c8be9387bb33af6ee9a (patch) | |
tree | 7e60ac4f7b8defdb98e2b141f476642e92f446d1 /src/blockchain_utilities | |
parent | cn_deserialize: print extra nonce as hex data (diff) | |
download | monero-c5f00bc7515250e1c4c71c8be9387bb33af6ee9a.tar.xz |
cn_deserialize: add minergate data
Diffstat (limited to 'src/blockchain_utilities')
-rw-r--r-- | src/blockchain_utilities/cn_deserialize.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blockchain_utilities/cn_deserialize.cpp b/src/blockchain_utilities/cn_deserialize.cpp index 23400afcb..a8448dcee 100644 --- a/src/blockchain_utilities/cn_deserialize.cpp +++ b/src/blockchain_utilities/cn_deserialize.cpp @@ -162,6 +162,7 @@ int main(int argc, char* argv[]) else if (typeid(cryptonote::tx_extra_pub_key) == fields[n].type()) std::cout << "extra pub key: " << boost::get<cryptonote::tx_extra_pub_key>(fields[n]).pub_key; else if (typeid(cryptonote::tx_extra_nonce) == fields[n].type()) std::cout << "extra nonce: " << epee::string_tools::buff_to_hex_nodelimer(boost::get<cryptonote::tx_extra_nonce>(fields[n]).nonce); else if (typeid(cryptonote::tx_extra_merge_mining_tag) == fields[n].type()) std::cout << "extra merge mining tag: depth " << boost::get<cryptonote::tx_extra_merge_mining_tag>(fields[n]).depth << ", merkle root " << boost::get<cryptonote::tx_extra_merge_mining_tag>(fields[n]).merkle_root; + else if (typeid(cryptonote::tx_extra_mysterious_minergate) == fields[n].type()) std::cout << "extra minergate custom: " << epee::string_tools::buff_to_hex_nodelimer(boost::get<cryptonote::tx_extra_mysterious_minergate>(fields[n]).data); else std::cout << "unknown"; std::cout << std::endl; } |