]> Git Repo - VerusCoin.git/blame - src/core_io.h
UniValue: compact (!pretty) output should not include extra whitespace
[VerusCoin.git] / src / core_io.h
CommitLineData
2b600992
PK
1// Copyright (c) 2009-2014 The Bitcoin developers
2// Distributed under the MIT/X11 software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
ae775b5b
JG
5#ifndef __BITCOIN_CORE_IO_H__
6#define __BITCOIN_CORE_IO_H__
7
8#include <string>
1b73d36b 9#include <vector>
ae775b5b 10
cbe39a38 11class uint256;
b2aeaa79 12class CScript;
ae775b5b 13class CTransaction;
cbe39a38 14class UniValue;
ae775b5b
JG
15
16// core_read.cpp
b2aeaa79 17extern CScript ParseScript(std::string s);
ae775b5b 18extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
cbe39a38
JG
19extern uint256 ParseHashUV(const UniValue& v, const std::string& strName);
20extern std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);
ae775b5b
JG
21
22// core_write.cpp
23extern std::string EncodeHexTx(const CTransaction& tx);
cbe39a38
JG
24extern void ScriptPubKeyToUniv(const CScript& scriptPubKey,
25 UniValue& out, bool fIncludeHex);
26extern void TxToUniv(const CTransaction& tx, const uint256& hashBlock, UniValue& entry);
ae775b5b
JG
27
28#endif // __BITCOIN_CORE_IO_H__
This page took 0.025188 seconds and 4 git commands to generate.