mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-16 03:12:41 +00:00
Attempt to publish to at least mesh_n peers (#5357)
* Code improvements * Fix gossipsub tests * Merge latest unstable * Differentiate errors and better scoring * Attempt to publish to mesh_n peers
This commit is contained in:
@@ -36,6 +36,9 @@ pub enum PublishError {
|
||||
MessageTooLarge,
|
||||
/// The compression algorithm failed.
|
||||
TransformFailed(std::io::Error),
|
||||
/// Messages could not be sent because all queues for peers were full. The usize represents the
|
||||
/// number of peers that have full queues.
|
||||
AllQueuesFull(usize),
|
||||
}
|
||||
|
||||
impl std::fmt::Display for PublishError {
|
||||
|
||||
Reference in New Issue
Block a user