mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-24 23:35:18 +00:00
Fix/err (#302)
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
Some checks failed
abi-consistent-check / build-and-compare (push) Has been cancelled
code-coverage / unittest-cov (push) Has been cancelled
rust / check (push) Has been cancelled
rust / test (push) Has been cancelled
rust / lints (push) Has been cancelled
functional-test / test (push) Has been cancelled
* code-Update mod.rs * typo-Update protocol.rs
This commit is contained in:
parent
64120399f1
commit
a56876eb1a
@ -84,7 +84,7 @@ enum EventStream {
|
|||||||
InActive,
|
InActive,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// The main discovery service. This can be disabled via CLI arguements. When disabled the
|
/// The main discovery service. This can be disabled via CLI arguments. When disabled the
|
||||||
/// underlying processes are not started, but this struct still maintains our current ENR.
|
/// underlying processes are not started, but this struct still maintains our current ENR.
|
||||||
pub struct Discovery {
|
pub struct Discovery {
|
||||||
/// A collection of seen live ENRs for quick lookup and to map peer-id's to ENRs.
|
/// A collection of seen live ENRs for quick lookup and to map peer-id's to ENRs.
|
||||||
|
@ -104,7 +104,7 @@ pub enum Version {
|
|||||||
V1,
|
V1,
|
||||||
}
|
}
|
||||||
|
|
||||||
/// RPC Encondings supported.
|
/// RPC Encodings supported.
|
||||||
#[derive(Debug, Clone, PartialEq, Eq)]
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||||||
pub enum Encoding {
|
pub enum Encoding {
|
||||||
SSZSnappy,
|
SSZSnappy,
|
||||||
|
Loading…
Reference in New Issue
Block a user