mempool.h raw
1 // Copyright (c) 2017-present The Bitcoin Core 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_RPC_MEMPOOL_H
6 #define BITCOIN_RPC_MEMPOOL_H
7
8 class CTxMemPool;
9 class UniValue;
10
11 /** Mempool information to JSON */
12 UniValue MempoolInfoToJSON(const CTxMemPool& pool);
13
14 /** Mempool to JSON */
15 UniValue MempoolToJSON(const CTxMemPool& pool, bool verbose = false, bool include_mempool_sequence = false);
16
17 #endif // BITCOIN_RPC_MEMPOOL_H
18