You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
266 B
16 lines
266 B
11 years ago
|
|
||
|
#include "core_io.h"
|
||
|
#include "core.h"
|
||
|
#include "serialize.h"
|
||
|
#include "util.h"
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
string EncodeHexTx(const CTransaction& tx)
|
||
|
{
|
||
|
CDataStream ssTx(SER_NETWORK, PROTOCOL_VERSION);
|
||
|
ssTx << tx;
|
||
|
return HexStr(ssTx.begin(), ssTx.end());
|
||
|
}
|
||
|
|