updated to monero branch release-v013

This commit is contained in:
moneroexamples 2019-02-27 16:33:42 +08:00
parent 12f5479742
commit 6477bbaf98
2 changed files with 7 additions and 8 deletions

View File

@ -103,7 +103,7 @@ sudo apt install git build-essential cmake libboost-all-dev miniupnpc libunbound
# go to home folder
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/

View File

@ -1720,7 +1720,7 @@ show_ringmembers_hex(string const& tx_hash_str)
== false)
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,
mixin_outputs);
}
@ -2009,7 +2009,7 @@ show_ringmemberstx_jsonhex(string const& tx_hash_str)
// get mining ouput info
core_storage->get_db().get_output_key(
epee::span<const uint64_t>(&in_key.amount, 1),
in_key.amount,
absolute_offsets,
mixin_outputs);
}
@ -2524,7 +2524,7 @@ show_my_outputs(string tx_hash_str,
if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
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,
mixin_outputs);
}
@ -4687,7 +4687,7 @@ json_transaction(string tx_hash_str)
if (are_absolute_offsets_good(absolute_offsets, in_key) == false)
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,
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 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,
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))
{
out_amount_indices = core_storage->get_db()
.get_tx_amount_output_indices(tx_index)
.front();
.get_tx_amount_output_indices(tx_index);
}
else
{