2014-06-24 05:10:24 +02:00
|
|
|
#ifndef __BITCOIN_CORE_IO_H__
|
|
|
|
#define __BITCOIN_CORE_IO_H__
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2014-06-24 05:16:33 +02:00
|
|
|
class CScript;
|
2014-06-24 05:10:24 +02:00
|
|
|
class CTransaction;
|
|
|
|
|
|
|
|
// core_read.cpp
|
2014-06-24 05:16:33 +02:00
|
|
|
extern CScript ParseScript(std::string s);
|
2014-06-24 05:10:24 +02:00
|
|
|
extern bool DecodeHexTx(CTransaction& tx, const std::string& strHexTx);
|
|
|
|
|
|
|
|
// core_write.cpp
|
|
|
|
extern std::string EncodeHexTx(const CTransaction& tx);
|
|
|
|
|
|
|
|
#endif // __BITCOIN_CORE_IO_H__
|