mirror of
https://github.com/monero-project/monero.git
synced 2025-11-27 05:17:02 -05:00
wallet2: adapt to deterministic unlock time
This commit is contained in:
parent
4971219c2c
commit
80e535c95a
10 changed files with 57 additions and 23 deletions
|
|
@ -461,6 +461,8 @@ namespace cryptonote
|
|||
res.cumulative_difficulty, res.wide_cumulative_difficulty, res.cumulative_difficulty_top64);
|
||||
res.block_size_limit = res.block_weight_limit = m_core.get_blockchain_storage().get_current_cumulative_block_weight_limit();
|
||||
res.block_size_median = res.block_weight_median = m_core.get_blockchain_storage().get_current_cumulative_block_weight_median();
|
||||
res.adjusted_time = m_core.get_blockchain_storage().get_adjusted_time(res.height);
|
||||
|
||||
res.start_time = restricted ? 0 : (uint64_t)m_core.get_start_time();
|
||||
res.free_space = restricted ? std::numeric_limits<uint64_t>::max() : m_core.get_free_space();
|
||||
res.offline = m_core.offline();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue