Query editor
select max(height) as current_height, ceil(max(height) / 210e3) * 210e3 as halving_height, ceil(max(height) / 210e3) * 210e3 - max(height) as blocks_remaining-- naive estimate using 10 minute blocks.-- proper estimate should use rate from current difficult epoch., (ceil(max(height) / 210e3) * 210e3 - max(height)) * 10 / 60 / 24 as days_remainingfrom bitcoin.blocks