Changeset View
Changeset View
Standalone View
Standalone View
src/utxocommit.h
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef BITCOIN_UTXOCOMMIT_H | #ifndef BITCOIN_UTXOCOMMIT_H | ||||
#define BITCOIN_UTXOCOMMIT_H | #define BITCOIN_UTXOCOMMIT_H | ||||
#include "coins.h" | |||||
#include "hash.h" | #include "hash.h" | ||||
#include "secp256k1/include/secp256k1_multiset.h" | #include "secp256k1/include/secp256k1_multiset.h" | ||||
#include "streams.h" | #include "streams.h" | ||||
#include <vector> | #include <vector> | ||||
class COutPoint; | |||||
class Coin; | class Coin; | ||||
class CCoinsViewCursor; | class CCoinsViewCursor; | ||||
/* A Utxo Commitment | /* A Utxo Commitment | ||||
* | * | ||||
* This is maintained as 96-byte multiset value that uniquely defines a UTXO set | * This is maintained as 96-byte multiset value that uniquely defines a UTXO set | ||||
* | * | ||||
* It wraps the secp256k1 multiset | * It wraps the secp256k1 multiset | ||||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |