Fix auto-IS and tests#2331
Conversation
|
So, there is an error in p2p-autoinstantsend.py? It sends "normal" IS transactions while autoIS is disabled. Should I add some additional checks to this test? |
|
@gladcow that's an interesting point. Let me check, maybe I'm missing smth.. |
|
There indeed were more issues than I initially thought, including tests. Pls see individual commits. |
gladcow
left a comment
There was a problem hiding this comment.
ACK, checked this logic in debugger in regtest.
…egardless of auto-IS status
|
Fixed merge conflicts, Previous commits for the reference: |
* fix CTxLockRequest::GetMinFee() * Force regular IS txes to include MIN_FEE * n_inputs fee on creation regardless of auto-IS status * set_autoix_spork_state should bump mocked time * make sure IS fee matches the expected one * turn off spork16 and test all types of txes again
Missed this in #2140
Without this we won't be able to create "normal" IS txes if auto-IS is not yet activated or if it's disabled for some reason (too high mempool usage or spork16 is OFF).