Skip to content
  • Andrzej Lisak's avatar
    detect expired transactions early and count them · c9fd3033
    Andrzej Lisak authored
    Previously expired transactions would run up to check inside _apply_transaction and generate exception that was also logged.
    Now such transactions are detected early (the same code as during building of new block) and just counted, so the log is not clobbered with unnecessary messages.
    The check is also much faster (in case of many expired transactions previously only less than 5k would be dropped per block, now 100k+ can be dropped in the same timeframe).
    c9fd3033