d896099593
Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
12 lines
370 B
C++
12 lines
370 B
C++
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
// Copyright (c) 2009-2018 The Bitcoin Core developers
|
|
// 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());
|
|
}
|