MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / ToString

Method ToString

src/tx/tx.cpp:237–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 return llFees >= minFee;
236}
237string CBaseTx::ToString(CAccountDBCache &accountCache) {
238 return strprintf("txType=%s", GetTxType(nTxType)) + ", " +
239 strprintf("hash=%s", GetHash().GetHex()) + ", " +
240 strprintf("ver=%d", nVersion) + ", " +
241 strprintf("valid_height=%d", valid_height) + ", " +
242 strprintf("tx_uid=%s", txUid.ToDebugString()) + ", " +
243 strprintf("fee_symbol=%llu", fee_symbol) + ", " +
244 strprintf("fees=%llu", llFees) + ", " +
245 strprintf("signature=%s", HexStr(signature));
246}
247
248Object CBaseTx::ToJson(CCacheWrapper &cw) const {
249 Object result;

Callers 15

CommitTxMethod · 0.45
ToJsonObjMethod · 0.45
dumpKeyInfoFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
TestParseFunction · 0.45
getnewaddrFunction · 0.45
createmulsigFunction · 0.45
BlockToJSONFunction · 0.45
getrawmempoolFunction · 0.45
getcontractregidFunction · 0.45
getproposalFunction · 0.45
getgovernorsFunction · 0.45

Calls 4

GetTxTypeFunction · 0.85
HexStrFunction · 0.85
ToDebugStringMethod · 0.80
GetHexMethod · 0.45

Tested by 3

dumpKeyInfoFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
TestParseFunction · 0.36