Simplify Esplora::update_local_chain and add tests
#1267
Merged
Esplora::update_local_chain and add tests
#1267