MCPcopy Create free account
hub / github.com/bcndev/bytecoin / read_keyimage

Method read_keyimage

src/Core/BlockChainState.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63bool BlockChainState::DeltaState::read_keyimage(const KeyImage &key_image, Height *height) const {
64 auto kit = m_keyimages.find(key_image);
65 if (kit == m_keyimages.end())
66 return m_parent_state->read_keyimage(key_image, height);
67 *height = m_block_height;
68 return true;
69}
70
71size_t BlockChainState::DeltaState::push_amount_output(
72 Amount amount, BlockOrTimestamp unlock_time, Height block_height, const PublicKey &pk, bool is_amethyst) {

Callers

nothing calls this directly

Calls 3

from_binaryFunction · 0.85
endMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected