src/cryptonote_core/master_node_list.cpp
//TODO: remove after HF17, mnode revision 1
remove after HF17, mnode revision 1
remove after HF17 mnode revision 1
crypto::hash master_node_list::hash_uptime_proof_v12(const cryptonote::NOTIFY_UPTIME_PROOF_V12::request &proof) const
    {
        char magic[4] = "SUP"; 
        size_t buf_size;
        crypto::hash result;
        auto buf = tools::memcpy_le(magic, proof.pubkey.data, proof.timestamp);
        buf_size = buf.size();
        crypto::cn_fast_hash(buf.data(), buf_size, result);
        return result;
    }
crypto :: hash master_node_list :: hash_uptime_proof_v12 ( const cryptonote :: NOTIFY_UPTIME_PROOF_V12 :: request & proof ) const { char magic [ 4 ] = " " ; size_t buf_size ; crypto :: hash result ; auto buf = tools :: memcpy_le ( magic , proof . pubkey . data , proof . timestamp ) ; buf_size = buf . size ( ) ; crypto :: cn_fast_hash ( buf . data ( ) , buf_size , result ) ; return result ; }
TODO: remove after HF17, mnode revision 1
TODO : remove after HF17 mnode revision 1
// Meaningless magic byte + null char