wallet2: adapt to deterministic unlock time

This commit is contained in:
TheCharlatan 2020-08-02 15:54:29 +00:00 committed by moneromooo-monero
parent 4971219c2c
commit 80e535c95a
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
10 changed files with 57 additions and 23 deletions

View file

@ -538,6 +538,7 @@ namespace rpc
res.info.cumulative_difficulty = (res.info.wide_cumulative_difficulty & 0xffffffffffffffff).convert_to<uint64_t>();
res.info.block_size_limit = res.info.block_weight_limit = m_core.get_blockchain_storage().get_current_cumulative_block_weight_limit();
res.info.block_size_median = res.info.block_weight_median = m_core.get_blockchain_storage().get_current_cumulative_block_weight_median();
res.info.adjusted_time = m_core.get_blockchain_storage().get_adjusted_time(res.info.height);
res.info.start_time = (uint64_t)m_core.get_start_time();
res.info.version = MONERO_VERSION;