updated to monero branch release-v013

devel
moneroexamples 5 years ago
parent 12f5479742
commit 6477bbaf98

@ -103,7 +103,7 @@ sudo apt install git build-essential cmake libboost-all-dev miniupnpc libunbound
# go to home folder # go to home folder
cd ~ cd ~
git clone --recursive https://github.com/monero-project/monero git clone --recursive -b release-v0.13 https://github.com/monero-project/monero.git
cd monero/ cd monero/

@ -1720,7 +1720,7 @@ show_ringmembers_hex(string const& tx_hash_str)
== false) == false)
continue; continue;
core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1), core_storage->get_db().get_output_key(in_key.amount,
absolute_offsets, absolute_offsets,
mixin_outputs); mixin_outputs);
} }
@ -2009,7 +2009,7 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
// get mining ouput info // get mining ouput info
core_storage->get_db().get_output_key( core_storage->get_db().get_output_key(
epee::span<const uint64_t>(&in_key.amount, 1), in_key.amount,
absolute_offsets, absolute_offsets,
mixin_outputs); mixin_outputs);
} }
@ -2524,7 +2524,7 @@ show_my_outputs(string tx_hash_str,
if (are_absolute_offsets_good(absolute_offsets, in_key) == false) if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
continue; continue;
core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1), core_storage->get_db().get_output_key(in_key.amount,
absolute_offsets, absolute_offsets,
mixin_outputs); mixin_outputs);
} }
@ -4687,7 +4687,7 @@ json_transaction(string tx_hash_str)
if (are_absolute_offsets_good(absolute_offsets, in_key) == false) if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
continue; continue;
core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1), core_storage->get_db().get_output_key(in_key.amount,
absolute_offsets, absolute_offsets,
outputs); outputs);
} }
@ -6363,7 +6363,7 @@ construct_tx_context(transaction tx, uint16_t with_ring_signatures = 0)
// offsets seems good, so try to get the outputs for the amount and // offsets seems good, so try to get the outputs for the amount and
// offsets given // offsets given
core_storage->get_db().get_output_key(epee::span<const uint64_t>(&in_key.amount, 1), core_storage->get_db().get_output_key(in_key.amount,
absolute_offsets, absolute_offsets,
outputs); outputs);
} }
@ -6576,8 +6576,7 @@ construct_tx_context(transaction tx, uint16_t with_ring_signatures = 0)
if (core_storage->get_db().tx_exists(txd.hash, tx_index)) if (core_storage->get_db().tx_exists(txd.hash, tx_index))
{ {
out_amount_indices = core_storage->get_db() out_amount_indices = core_storage->get_db()
.get_tx_amount_output_indices(tx_index) .get_tx_amount_output_indices(tx_index);
.front();
} }
else else
{ {

Loading…
Cancel
Save