aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
blob: 528c472803ed188f6719583d2479a324b674db38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __BITCOIN_CORE_IO_H__
#define __BITCOIN_CORE_IO_H__

#include <string>

class CScript;
class CTransaction;

// core_read.cpp
extern CScript ParseScript(std::string s);
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);

// core_write.cpp
extern std::string EncodeHexTx(const CTransaction& tx);

#endif // __BITCOIN_CORE_IO_H__