Merge #10770: Drop upgrade-cancel callback registration for a generic "cancelable"
commitea729d55b4dbd17a53ced474a8457d4759cfb5a5
authorJonas Schnelli <dev@jonasschnelli.ch>
Thu, 7 Sep 2017 16:20:55 +0000 (7 09:20 -0700)
committerJonas Schnelli <dev@jonasschnelli.ch>
Thu, 7 Sep 2017 16:21:04 +0000 (7 09:21 -0700)
tree2efe97d55ff48f1ab18010ffa011cb369a59b07c
parent9c8f3655cc68f038b4739e95879ea65a1d476227
parentee4d1493e2a871b26201580c5a990a1df7a5e3f7
Merge #10770: Drop upgrade-cancel callback registration for a generic "cancelable"

ee4d1493e Drop upgrade-cancel callback registration for a generic "resumeable" (Matt Corallo)

Pull request description:

  Instead of passing a StartShutdown reference all the way up from
  txdb, give ShowProgress a "cancelable" boolean, as StartShutdown
  is pretty much always what you'll want to use to cancel. Use the
  same boolean to allow cancel during initial block verification.

Tree-SHA512: 515817aaa4b9e3e856200e00be9c2d44ecfa2d4f288fe3e02116105fe85de2650c13076ee7e45396ec1ce6ab45e53b0477cddda7cfdee5b3bd0589cb81a4c346
src/txdb.cpp
src/validation.cpp