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

#include <string>

class CTransaction;

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

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

#endif // __BITCOIN_CORE_IO_H__