Page MenuHomePhabricator

[wallet] Move getHeight from Chain::Lock interface to simple Chain
ClosedPublic

Authored by deadalnix on Thu, Oct 15, 14:39.

Details

Summary

Instead of calling getHeight, we rely on CWallet::m_last_block
processed_height where it's possible.

Backport of Core PR16426 part [1/5] : https://github.com/bitcoin/bitcoin/pull/16426/commits/b855592d835bf4b3fb1263b88d4f96669a1722b1

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.