Skip to content

Commit

Permalink
docs:readme updated with potential bug with the proto file
Browse files Browse the repository at this point in the history
  • Loading branch information
Aviksaikat committed Jun 27, 2024
1 parent da8e8d1 commit 18853cd
Showing 1 changed file with 52 additions and 1 deletion.
53 changes: 52 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rusty Bee

A bee node implementation in Rust.
A bee node implementation in Rust 🦀.

## Requirements

Expand Down Expand Up @@ -44,6 +44,57 @@ cargo build
cargo run
```

## Issues
Currently, there is an issue with the `handshake.proto` compiled file i.e. `handshake.rs`. Inorder to fix that replace the contents of that file in the target folder with the contents of the following file.

<details close>
<summary>swarm.handshake.rs</summary>
<br>

```rust
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Syn {
#[prost(bytes = "vec", tag = "1")]
pub observed_underlay: ::prost::alloc::vec::Vec<u8>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Ack {
#[prost(message, optional, tag = "1")]
pub address: std::option::Option<BzzAddress>,
#[prost(uint64, tag = "2")]
pub network_id: u64,
#[prost(bool, tag = "3")]
pub full_node: bool,
#[prost(bytes = "vec", tag = "4")]
pub nonce: ::prost::alloc::vec::Vec<u8>,
#[prost(string, tag = "99")]
pub welcome_message: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SynAck {
#[prost(message, optional, tag = "1")]
pub syn: std::option::Option<Syn>,
#[prost(message, optional, tag = "2")]
pub ack: std::option::Option<Ack>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BzzAddress {
#[prost(bytes = "vec", tag = "1")]
pub underlay: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "2")]
pub signature: ::prost::alloc::vec::Vec<u8>,
#[prost(bytes = "vec", tag = "3")]
pub overlay: ::prost::alloc::vec::Vec<u8>,
}
```

</details>




Expand Down

0 comments on commit 18853cd

Please sign in to comment.