updateTip method

void updateTip ()

When new Blocks come out, use their BlockHeader.height as a timer.

Implementation

void updateTip() {
  assert(network.tipHeight != null);
  expirePendingTransactions(network.tipHeight);
  completeMaturingTransactions(network.tipHeight);
  if (notifyListeners != null) notifyListeners();
}