Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/handshake.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ impl ConnectionConfig {
services: version.services,
net_time_difference,
reported_height: version.start_height,
nonce,
};
let handshake = InitializedHandshake {
feeler,
Expand Down
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ pub struct FeelerData {
pub net_time_difference: i64,
/// The reported height of their block chain.
pub reported_height: i32,
/// The nonce used to create this connection.
pub nonce: u64,
}

/// The peer's preferences during this connection. These are updated automatically as the peer
Expand Down