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

relay: create channel bindings and relay data #1618

Merged
merged 41 commits into from
May 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
df3735f
Parse channel bind requests
thomaseizinger May 16, 2023
794bcb6
Send channel data messages to client
thomaseizinger May 16, 2023
979d8ae
De-multiplex channel data messages from client
thomaseizinger May 16, 2023
8fedf42
Fix clippy warning
thomaseizinger May 16, 2023
aa38331
Refactor `check_peer_address`
thomaseizinger May 16, 2023
4e61283
Add todo
thomaseizinger May 16, 2023
0610c0e
Parse channel bind requests
thomaseizinger May 16, 2023
bd460f4
Send channel data messages to client
thomaseizinger May 16, 2023
5aac4d8
De-multiplex channel data messages from client
thomaseizinger May 16, 2023
b27143b
Fix clippy warning
thomaseizinger May 16, 2023
f7c3873
Refactor `check_peer_address`
thomaseizinger May 16, 2023
862607c
Add todo
thomaseizinger May 16, 2023
dea8d28
Introduce dedicated `client_send_buffer`
thomaseizinger May 18, 2023
794a036
Forward data to allocations
thomaseizinger May 18, 2023
1c2f1c0
Create wrapper UdpSocket
thomaseizinger May 18, 2023
8b031a4
Actually forward data to peer
thomaseizinger May 18, 2023
23e82d4
Merge branch 'feat/relay/channel-bindings' of github.com:thomaseizing…
thomaseizinger May 18, 2023
88015fc
Split unbinding and expiry for channels
thomaseizinger May 18, 2023
d35d9d9
Actually implement relaying
thomaseizinger May 18, 2023
e25c27b
Move logs into `Server`
thomaseizinger May 18, 2023
c3594f9
Handle create-permission request
thomaseizinger May 18, 2023
08c71bc
Improve log messages
thomaseizinger May 18, 2023
fe8ad90
Simplify logging
thomaseizinger May 18, 2023
0e21256
Let clients know what we don't support
thomaseizinger May 18, 2023
f6c6ef5
Further centralize logging in `Server`
thomaseizinger May 18, 2023
bdeba40
Add dummy authentication
thomaseizinger May 18, 2023
a36e8e5
Refactor message dispatch
thomaseizinger May 18, 2023
c0b5955
Comment out test
thomaseizinger May 18, 2023
5c88856
Fix compile errors
thomaseizinger May 18, 2023
356f4f3
Only need IPv4 address in ctor
thomaseizinger May 19, 2023
21ff55c
Fix log to have correct target
thomaseizinger May 19, 2023
a243a59
Drop log level to trace for incoming and outgoing messages
thomaseizinger May 19, 2023
ff07fe5
Add examples for a basic test
thomaseizinger May 19, 2023
18ad528
Merge branch 'cloud' into feat/relay/channel-bindings
jamilbk May 20, 2023
440d88e
Add basic regression test
thomaseizinger May 22, 2023
3908fe3
Fix logging and add sleep to gateway
thomaseizinger May 22, 2023
ee806f7
Fix regression tests
thomaseizinger May 22, 2023
5fbbc30
Make log a warn
thomaseizinger May 22, 2023
d167833
Fix clippy warnings
thomaseizinger May 22, 2023
a4f2094
Change CI to test cross-compilation separately
thomaseizinger May 22, 2023
754e0a9
Merge branch 'cloud' into feat/relay/channel-bindings
jamilbk May 23, 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
16 changes: 16 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,19 @@ jobs:
RUSTDOCFLAGS: "-D warnings"
- run: cargo clippy -- -D warnings
- run: cargo test

cross:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./rust
steps:
- uses: actions/checkout@v2

# This implicitly triggers installation of the toolchain in the `rust-toolchain.toml` file.
# If we don't do this here, our cache action will compute a cache key based on the Rust version shipped on GitHub's runner which might differ from the one we use.
- run: rustup show

- uses: Swatinem/rust-cache@v2
- run: rustup target add x86_64-unknown-linux-musl
- run: cargo build --bin relay --target x86_64-unknown-linux-musl
2 changes: 0 additions & 2 deletions rust/.cargo/config.toml

This file was deleted.

Loading