preStart method
Called when the actor is started.
Implementation
@override
void preStart() {
// A guard that silently does nothing is what this backlog keeps finding
// (bead libspiffy-m0xj). Absent storage is a configuration, not a
// failure, so this is a warning and not a throw — but it is never
// silent, and it names what stops working rather than leaving the
// reader to find out from a channel that will not open.
if (_storage == null) {
_log.warning(
'PaymentChannelManagerActor has no read model: client channels '
'cannot open (their funding is sent with no BEEF, which servers '
'refuse), a funding retry cannot be refused when its money has '
'been reclaimed, and a funding recording is redone rather than '
'skipped. See the storage parameter.');
}
if (_headerChain == null) {
_log.warning(
'PaymentChannelManagerActor has no block headers: no refund can be '
'claimed, since the chain\'s median time past its lock time is held '
'to is unknown. See the headerChain parameter.');
}
}