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

Method payment_queue_get

src/Core/WalletHD.cpp:267–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::vector<BinaryArray> WalletHDBase::payment_queue_get() const {
268 std::vector<BinaryArray> result;
269 auto nit = m_payment_queue.find(m_currency.net);
270 if (nit == m_payment_queue.end())
271 return result;
272 for (const auto &el : nit->second)
273 result.push_back(el.second);
274 return result;
275}
276
277void WalletHDBase::payment_queue_add(const Hash &tid, const BinaryArray &binary_transaction) {
278 m_payment_queue[m_currency.net][tid] = binary_transaction;

Callers 1

WalletStateMethod · 0.45

Calls 1

endMethod · 0.45

Tested by

no test coverage detected