bloxbean / yaci

A Cardano Mini Protocols implementation in Java
MIT License
25 stars 3 forks source link

Fixing removal of TX from FIFO queue #65

Closed nemo83 closed 6 months ago

nemo83 commented 6 months ago

Fixed the de-queueing of TX from the N2N TxSubmission protocol.

Different nodes implement acknowledgement of tx in different way. While developing the TxSubmission I was originally under the impression the peer would not explicitly ack requested TX, but just immediately request in non-blocking way, new txs.

After a more careful investigation I found out that some node implementations will ack tx even after asking for more.