MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetHex

Method GetHex

src/uint256.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26template <unsigned int BITS>
27std::string base_blob<BITS>::GetHex() const
28{
29 uint8_t m_data_rev[WIDTH];
30 for (int i = 0; i < WIDTH; ++i) {
31 m_data_rev[i] = m_data[WIDTH - 1 - i];
32 }
33 return HexStr(m_data_rev);
34}
35
36template <unsigned int BITS>
37void base_blob<BITS>::SetHex(const char* psz)

Callers 15

ScriptPubKeyToUnivFunction · 0.45
TxToUnivFunction · 0.45
rest_filter_headerFunction · 0.45
rest_getutxosFunction · 0.45
rest_blockhash_by_heightFunction · 0.45
OutputTxHashFunction · 0.45
asset.cppFile · 0.45
RemoveUnbroadcastTxMethod · 0.45
SetMethod · 0.45
GetIdentifierMethod · 0.45
IsConfirmedBitcoinBlockFunction · 0.45

Calls 1

HexStrFunction · 0.50

Tested by

no test coverage detected