• Sergei Zubov's avatar
    Fix mempool corruption at zero-inputs · 784621af
    Sergei Zubov authored
    When node accepts transaction or receives block, it tries to load all
    inputs to mempool. Trying to load zero-inputs to mempool leads to
    corruption - valid transaction may be removed from mempool during
    conflicts check. To prevent this, inputs selection algorithms modified
    to ignore zero-inputs. Conflicts check ignores them too.
    784621af
DeStreamMempoolCoinView.cs 2.29 KB