Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SSV Handshake Protocol #125

Merged
merged 65 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
e5a10ad
handshake
diegomrsantos Feb 4, 2025
1b36113
remove length prefixing
diegomrsantos Feb 5, 2025
8dfba38
fixing serialization
diegomrsantos Feb 5, 2025
fec6579
fix tag
diegomrsantos Feb 5, 2025
2f898bc
delete node_info from network types
diegomrsantos Feb 5, 2025
335de8c
remove unnecessary deps
diegomrsantos Feb 7, 2025
537a988
handle handshake event
diegomrsantos Feb 5, 2025
5162ae6
many fixes
diegomrsantos Feb 5, 2025
60c1c13
remove record
diegomrsantos Feb 5, 2025
98b97bc
delete record mod and move things around
diegomrsantos Feb 6, 2025
1d41a3e
improve error handling
diegomrsantos Feb 6, 2025
b2bd4bf
remove pending_handshakes
diegomrsantos Feb 6, 2025
573dd54
fix wrong network id
diegomrsantos Feb 6, 2025
0114cdc
add NotifyHandler again
diegomrsantos Feb 6, 2025
e65e5b4
small change
diegomrsantos Feb 6, 2025
5d2f6df
use NodeInfoProvider trait
diegomrsantos Feb 7, 2025
97f6534
rename HandshakeEvent
diegomrsantos Feb 7, 2025
f755ea5
rename HandshakeBehaviour
diegomrsantos Feb 7, 2025
8f2e545
move behaviour to mod.rs
diegomrsantos Feb 7, 2025
d0ab738
create envelope mod
diegomrsantos Feb 7, 2025
88e8a92
improve error handling
diegomrsantos Feb 7, 2025
0c42c26
simplify error with thiserror
diegomrsantos Feb 7, 2025
c096635
improve error handling
diegomrsantos Feb 7, 2025
71f0de5
rename HandshakeError
diegomrsantos Feb 7, 2025
7f47b7d
cargo clippy
diegomrsantos Feb 7, 2025
6411d4c
fix request handling
diegomrsantos Feb 7, 2025
288e0a2
fix problems after rebase
diegomrsantos Feb 7, 2025
4be67aa
use quick-protobuf
diegomrsantos Feb 10, 2025
cb9363c
cargo fmt
diegomrsantos Feb 10, 2025
399499c
cargo sort
diegomrsantos Feb 10, 2025
3ac485b
cargo clippy
diegomrsantos Feb 10, 2025
2a47eb0
limit the msg payload while reading
diegomrsantos Feb 10, 2025
a2611e1
protocol spec
diegomrsantos Feb 10, 2025
b53d49e
remove deps
diegomrsantos Feb 10, 2025
aab349e
remove println!
diegomrsantos Feb 10, 2025
cc5d0e3
update comments
diegomrsantos Feb 10, 2025
c26750e
update wordlist.txt
diegomrsantos Feb 10, 2025
c75a225
ignore case in spellcheck
diegomrsantos Feb 10, 2025
d9791ce
Revert "ignore case in spellcheck"
diegomrsantos Feb 10, 2025
40dc739
changes after review
diegomrsantos Feb 10, 2025
ca67c05
use ssv_network_config
diegomrsantos Feb 10, 2025
d38776d
create and use DomainType
diegomrsantos Feb 11, 2025
db25bae
remove print
diegomrsantos Feb 11, 2025
5fd4866
cargo fmt and clippy
diegomrsantos Feb 11, 2025
026d99f
cargo sort
diegomrsantos Feb 11, 2025
c4ed901
Merge branch 'unstable' into handshake
diegomrsantos Feb 11, 2025
cb4b102
only send handshake request if we initiated the connection
diegomrsantos Feb 12, 2025
195e742
remove trait and create NodeInfoManager
diegomrsantos Feb 12, 2025
2954f08
cargo fmt
diegomrsantos Feb 12, 2025
4e12f5e
Bubble up all other ToSwarm events
diegomrsantos Feb 12, 2025
04cc5bf
use RwLock instead of Mutex
diegomrsantos Feb 12, 2025
9626f47
cargo fmt
diegomrsantos Feb 12, 2025
c9b6a82
Merge branch 'unstable' into handshake
diegomrsantos Feb 12, 2025
0c09ca4
Update anchor/network/src/handshake/envelope/codec.rs
diegomrsantos Feb 12, 2025
495b2ea
follow libp2p pattern for proto files
diegomrsantos Feb 12, 2025
2eb6b3e
remove print
diegomrsantos Feb 13, 2025
908d4a9
move domain_type.rs
diegomrsantos Feb 13, 2025
266c4e5
create handshake_success test
diegomrsantos Feb 13, 2025
b6666c7
add mismatched_networks_handshake_failed test
diegomrsantos Feb 13, 2025
edfdd78
fix test
diegomrsantos Feb 13, 2025
dcf9727
use RwLock from parking_lot
diegomrsantos Feb 13, 2025
7d3f32d
add handshake spec to the book
diegomrsantos Feb 14, 2025
b155c64
fix handshake.md
diegomrsantos Feb 14, 2025
c250765
add handshake.md to summary
diegomrsantos Feb 14, 2025
f72e3db
remove readme from handshake
diegomrsantos Feb 14, 2025
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
12 changes: 11 additions & 1 deletion .github/wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,14 @@ Holesky
Mainnet
lifecycle
Syncer

JSON
Protobuf
Responder
responder
Prepends
Secp
NodeMetadata
NodeInfo
subnets
holesky
responder's
Loading