hyperledger-iroha / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
438 stars 280 forks source link

refactor(iroha_torii): spawn a single server task with only one `TcpListener` #5122

Closed 0x009922 closed 2 weeks ago

0x009922 commented 3 weeks ago

Context

Split from #5087

Chore refactor: there was extra code complexity in Torii due to iroha_primities::SocketAddr not implementing tokio::ToSocketAddrs.

Solution

Workarounded with a match construction.

Migration Guide (optional)

None


Review notes (optional)

None

Checklist