Fix mempool corruption at zero-inputs
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.
Showing
Please register or sign in to comment