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

Improve event driven connection manager and implement EBT replication #83

Merged
merged 31 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
4e3a06e
use git path for kuska-ssb
mycognosist Oct 26, 2023
2ecdeba
implement Display for TcpConnection and use message passing to initia…
mycognosist Oct 26, 2023
ff16788
implement Display for TcpConnection
mycognosist Oct 26, 2023
e80c6c2
handle replication and lan discovery events
mycognosist Oct 26, 2023
6f1f742
ignore redundant connections and pass lan discovery event to manager
mycognosist Oct 26, 2023
8a86392
pass in OwnedIdentity and spawn ebt actor
mycognosist Oct 26, 2023
8d84dc8
switch parameter order
mycognosist Oct 26, 2023
e051b36
add ebt event variant
mycognosist Oct 26, 2023
73bffbe
add TryFromInt error variant
mycognosist Oct 26, 2023
ba481c0
implement ebt session initiation and handler
mycognosist Oct 26, 2023
c204fbe
add staging event and connection checks
mycognosist Nov 7, 2023
46e31df
increase lan discovery sleep time
mycognosist Nov 7, 2023
bcbf285
update lockfile
mycognosist Nov 7, 2023
b562b2a
avoid format call for public key
mycognosist Nov 7, 2023
2683780
add ReqNo type
mycognosist Nov 7, 2023
0b95813
emit staging instead of connecting
mycognosist Nov 7, 2023
0f1c48f
@-prefix all public keys from replication list
mycognosist Nov 7, 2023
d44d0eb
pass local owned identity into ebt manager actor
mycognosist Nov 7, 2023
9028044
delete commented-out code
mycognosist Nov 7, 2023
ea7f163
remove needless borrow
mycognosist Nov 7, 2023
db015bc
fix peer connection tests
mycognosist Nov 8, 2023
0ad8c8d
split ebt logic into separate modules
mycognosist Nov 9, 2023
85256fe
add basic muxrpc request-response handling
mycognosist Nov 9, 2023
bdaaa6a
update lockfile
mycognosist Nov 20, 2023
bb6612a
clean up: remove unnecessary methods, parameters and comments
mycognosist Nov 20, 2023
b8ab219
introduce a SessionTimeout ebt event and fallback to classic replication
mycognosist Nov 21, 2023
0b1a5c6
add EbtReplicate error variant and fallback to classic replication on…
mycognosist Nov 21, 2023
8b421da
correct a code comment
mycognosist Nov 22, 2023
3284e99
add logs directory to ignorelist
mycognosist Nov 22, 2023
45138ed
add an encode/decode test for a larger number
mycognosist Dec 4, 2023
5f99fbd
satisfy clippy
mycognosist Dec 4, 2023
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 .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
go_sbot_benchmarks
/releases
/cmds
/logs
4 changes: 3 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions solar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ futures = "0.3"
hex = "0.4.0"
jsonrpsee = { version = "0.18.2", features = ["server"] }
kuska-sodiumoxide = "0.2.5-0"
#kuska-ssb = { git = "https://github.com/Kuska-ssb/ssb", branch = "master" }
kuska-ssb = { path = "../../ssb" }
kuska-ssb = { git = "https://github.com/Kuska-ssb/ssb", branch = "master" }
log = "0.4"
once_cell = "1.16"
rand = "0.8"
Expand Down
Loading