Merge pull request #5356 from IntersectMBO/karknu/tx_tests
cardano-diffusion: tx integrity test
cardano-diffusion: tx integrity test
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
In case of duplicate txids, a second invalid tx could be counted as valid because it was tracked by txid alongside the valid duplicate, conflating the two.
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
In case of duplicate txids, a second invalid tx could be counted as valid because it was tracked by txid alongside the valid duplicate, conflating the two.
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
In case of duplicate txids a second invalid txids could be counted as valid because it was tracked with txid along
Not only idle peers but all peers should be notified when something changes for one of their TX.s
Add a test for ensuring that a peer can download all valid TXs when faced with two peers with conflicting tx order.
When picking TXs to submit to the mempool stop at gaps. When picking TXs to download use the peer's advertisement order as a guide, not the TxKey order.