Skip to content

Commit 354062d

Browse files
jeffro256j-berman
authored andcommitted
Rebase patch
1 parent 5e2890b commit 354062d

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

src/blockchain_db/lmdb/db_lmdb.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ class BlockchainLMDB final: public BlockchainDB
279279
bool get_prunable_tx_blob(const crypto::hash& h, cryptonote::blobdata &tx) const override;
280280
bool get_prunable_tx_hash(const crypto::hash& tx_hash, crypto::hash &prunable_hash) const override;
281281

282-
std::vector<outkey> get_tx_output_data(const crypto::hash& h, cryptonote::transaction &tx) const;
282+
std::vector<outkey> get_tx_output_data(const crypto::hash& h, cryptonote::transaction &tx) const override;
283283

284284
std::vector<crypto::hash> get_txids_loose(const crypto::hash& h, std::uint32_t bits, uint64_t max_num_txs = 0) override;
285285

@@ -442,7 +442,7 @@ class BlockchainLMDB final: public BlockchainDB
442442

443443
void remove_spent_key(const crypto::key_image& k_image) override;
444444

445-
uint64_t num_outputs() const;
445+
uint64_t num_outputs() const override;
446446

447447
virtual void add_locked_outs(const fcmp_pp::curve_trees::OutsByLastLockedBlock& outs_by_last_locked_block, const std::unordered_map<uint64_t/*output_id*/, uint64_t/*last locked block_id*/>& timelocked_outputs);
448448

src/cryptonote_basic/cryptonote_basic.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -511,18 +511,18 @@ namespace cryptonote
511511
hash_valid(b.is_hash_valid()),
512512
miner_tx(b.miner_tx),
513513
tx_hashes(b.tx_hashes),
514-
hash(b.hash),
515514
fcmp_pp_n_tree_layers(b.fcmp_pp_n_tree_layers),
516-
fcmp_pp_tree_root(b.fcmp_pp_tree_root)
515+
fcmp_pp_tree_root(b.fcmp_pp_tree_root),
516+
hash(b.hash)
517517
{}
518518
block(block &&b):
519519
block_header(std::move(b)),
520520
hash_valid(b.is_hash_valid()),
521521
miner_tx(std::move(b.miner_tx)),
522522
tx_hashes(std::move(b.tx_hashes)),
523-
hash(std::move(b.hash)),
524-
fcmp_pp_n_tree_layers(b.fcmp_pp_n_tree_layers),
525-
fcmp_pp_tree_root(std::move(b.fcmp_pp_tree_root))
523+
fcmp_pp_n_tree_layers(std::move(b.fcmp_pp_n_tree_layers)),
524+
fcmp_pp_tree_root(std::move(b.fcmp_pp_tree_root)),
525+
hash(std::move(b.hash))
526526
{
527527
b.miner_tx.set_null();
528528
b.tx_hashes.clear();
@@ -535,9 +535,9 @@ namespace cryptonote
535535
hash_valid = b.is_hash_valid();
536536
miner_tx = b.miner_tx;
537537
tx_hashes = b.tx_hashes;
538-
hash = b.hash;
539538
fcmp_pp_n_tree_layers = b.fcmp_pp_n_tree_layers;
540539
fcmp_pp_tree_root = b.fcmp_pp_tree_root;
540+
hash = b.hash;
541541
}
542542
return *this;
543543
}
@@ -549,9 +549,9 @@ namespace cryptonote
549549
hash_valid = b.is_hash_valid();
550550
miner_tx = std::move(b.miner_tx);
551551
tx_hashes = std::move(b.tx_hashes);
552-
hash = std::move(b.hash);
553552
fcmp_pp_n_tree_layers = b.fcmp_pp_n_tree_layers;
554-
fcmp_pp_tree_root = std::move(b.fcmp_pp_tree_root);
553+
fcmp_pp_tree_root = b.fcmp_pp_tree_root;
554+
hash = std::move(b.hash);
555555
b.miner_tx.set_null();
556556
b.tx_hashes.clear();
557557
}

src/serialization/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ template <
178178
>
179179
static bool do_serialize(Archive<true> &ar, boost::variant<T...> &v)
180180
{
181-
return boost::apply_visitor(variant_write_visitor<Archive>(ar), v);
181+
return boost::apply_visitor(variant_write_visitor<Archive>(ar), v);
182182
}
183183

184184
template <

0 commit comments

Comments
 (0)