lbrycrd/src/uint256.cpp

13 lines
370 B
C++
Raw Normal View History

// Copyright (c) 2009-2010 Satoshi Nakamoto
2018-07-27 00:36:45 +02:00
// Copyright (c) 2009-2018 The Bitcoin Core developers
2014-12-13 05:09:33 +01:00
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <crypto/common.h>
#include <uint256.h>
uint64_t GetCheapHash(const uint256& hash)
{
return ReadLE64(hash.begin());
}