Skip to content

Commit

Permalink
Feat: Initial Kad node setup (#184)
Browse files Browse the repository at this point in the history
* feat: remove rendevous + add initial kad setup

* Fix up whitespace

* Comment out unused constants

* Use mdns and kademlia to get integration test working

* Remove tcp as tests pass

* Add test for networking layer

* Add net test

* Revert folder rename

* Add comment

* Formatting

* Remove expect

* Remove constants

* Formatting

* Test docs

* Plumb config to dial peers

* Fix formating

* Extract matching function

* Refactor NetworkPeer

* Rename file

* Rename P2p -> NetworkRelay

* Rename p2p -> net

* Formatting

* Remove expect

* Remove expect

* Don't use privelaged

* Tidy code

* Use multistage to reduce test image size (#187)

---------

Co-authored-by: chad <[email protected]>
Co-authored-by: Hamza Khalid <[email protected]>
  • Loading branch information
3 people authored Nov 28, 2024
1 parent 0cf28d9 commit 732a58a
Show file tree
Hide file tree
Showing 33 changed files with 693 additions and 5,208 deletions.
30 changes: 30 additions & 0 deletions packages/ciphernode/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# First ignore everything
*
**/*

# Then allow cargo workspace files
!Cargo.toml
!Cargo.lock

# Allow core crate
!core/
!core/Cargo.toml
!core/src/**/*.rs

# net
!net/
!net/Cargo.toml
!net/src/**/*.rs


# Allow all other workspace members (adjust paths as needed)
!*/Cargo.toml
!*/src/**/*.rs

# Explicitly ignore build artifacts everywhere
**/target/
**/.git/
**/.gitignore
**/.DS_Store
**/tests/tmp/
**/*.log
Loading

0 comments on commit 732a58a

Please sign in to comment.