Page MenuHomePhabricator

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

Authored by deadalnix on Oct 15 2020, 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
Lint Not Applicable
Unit
Tests Not Applicable