Page MenuHomePhabricator

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

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

Details

Summary

Add HaveChain to assert chain access for wallet-tool in LoadToWallet.

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

Depends on D7934

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.