input-output-hk / rust-byron-cardano

rust client libraries to deal with the current cardano mainnet (byron / cardano-sl)
MIT License
264 stars 75 forks source link

network: improve block upload APIs #692

Closed mzabaluev closed 5 years ago

mzabaluev commented 5 years ago

The signature of BlockService::upload_blocks was unwieldy for implementations. It is much simpler to have a on_uploaded_block method in the core trait that acts on a single block.