Bitcoin ABC  0.22.13
P2P Digital Currency
disconnectresult.h
Go to the documentation of this file.
1 // Copyright (c) 2020 The Bitcoin developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_DISCONNECTRESULT_H
6 #define BITCOIN_DISCONNECTRESULT_H
7 
8 enum class DisconnectResult {
9  // All good.
10  OK,
11  // Rolled back, but UTXO set was inconsistent with block.
12  UNCLEAN,
13  // Something else went wrong.
14  FAILED,
15 };
16 
17 #endif // BITCOIN_DISCONNECTRESULT_H
DisconnectResult