Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

reimplement relay peers #133

Closed
wants to merge 73 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
73 commits
Select commit Hold shift + click to select a range
a316905
add ImmutableStore trait and fs based impl
chunningham Oct 20, 2022
eeace02
use multihashes for content IDs (ignore codec)
chunningham Oct 21, 2022
5de83ab
remove ipfs trait impls
chunningham Oct 21, 2022
a3be0b8
remove Ipfs from kv, remove ObjectReader for single-block contents
chunningham Oct 21, 2022
65e4a7d
remove ipfs from cap store and service
chunningham Oct 21, 2022
4f4ad2f
remove ipfs from orbit, remove more ipfs fns
chunningham Oct 21, 2022
bf44fa4
remove various ipfs crate imports
chunningham Oct 21, 2022
f212870
fix dependancies
chunningham Oct 21, 2022
b308413
remove SupportedCodecs, unused
chunningham Oct 21, 2022
62f48cb
fixes, stub kv behaviour
chunningham Oct 21, 2022
cfa1fea
impl EitherStore to combine stores, make Orbit generic
chunningham Oct 24, 2022
22e16f2
minor core fixes
chunningham Oct 24, 2022
2a18ad9
hollow out relay.rs
chunningham Oct 24, 2022
53bcce7
remove src/ipfs.rs
chunningham Oct 24, 2022
6c644fc
fix siwe and ssi versions
chunningham Oct 26, 2022
0459cf7
fix up storage trait, stub out impls
chunningham Oct 26, 2022
9607007
add clone and stderror for stores
chunningham Oct 26, 2022
e2e90dd
bump aws and tokio-util versions
chunningham Oct 26, 2022
874b629
make everything to do with ImmutableStore Send + Sync
chunningham Oct 26, 2022
57f9f3d
fix up the KV mod to use ImmutableStore
chunningham Oct 26, 2022
2b2b576
fix caps and auth to use immutablestore
chunningham Oct 26, 2022
c5f6382
warnings
chunningham Oct 26, 2022
36eefbe
use ImmutableStore in Orbit
chunningham Oct 26, 2022
a764327
fix up routes/responses to use AsyncRead
chunningham Oct 27, 2022
75d43dd
store minor fix
chunningham Oct 27, 2022
5cece4f
add StorageConfig trait, move config structs to respective modules
chunningham Oct 31, 2022
1a194a8
rename eitherstore -> either
chunningham Nov 1, 2022
3fa79c2
add StorageConfig::create, Orbit::create and Orbit::open
chunningham Nov 1, 2022
b22942f
add OrbitPeerConfig and builder
chunningham Nov 1, 2022
e7b9125
add ProviderUtils and refactor orbit load/create
chunningham Nov 1, 2022
cb90608
remove storageutils impl
chunningham Nov 2, 2022
7174431
fix lifetime and usage errors
chunningham Nov 2, 2022
fd4a326
fix create_orbit
chunningham Nov 2, 2022
45382a9
integrate new StorageConfig structs with existing config stuff
chunningham Nov 2, 2022
d6aa092
fix orbit loading/creation in routes
chunningham Nov 2, 2022
b75fddb
fix orbit creation
chunningham Nov 2, 2022
91077a9
remove s3datastore and PinStore impl for dynamo
chunningham Nov 2, 2022
66de638
use pin_project, remove unsafe in AsyncReadEither
chunningham Nov 2, 2022
6afac13
small cleanup, warnings
chunningham Nov 3, 2022
f1d7310
fully impl stores using HashBuffer
chunningham Nov 3, 2022
11b6218
install protoc in workflows
chunningham Nov 3, 2022
478d2ca
removing unused code and busted tests
chunningham Nov 3, 2022
867251b
cippy warnings, delete lots of unused code
chunningham Nov 3, 2022
8fee540
remove deprecated function, ensure writers are flushed
chunningham Nov 3, 2022
52fe2cb
fix protoc in clippy workflow
chunningham Nov 3, 2022
4c10cbb
fix tests
chunningham Nov 3, 2022
0d57503
update cached
chunningham Nov 4, 2022
d26f359
add hash code choice to store write, add to all usage
chunningham Nov 4, 2022
125abd8
code golf with macros
chunningham Nov 4, 2022
46c109f
remove unnecessary extra macro case
chunningham Nov 4, 2022
549ca13
remove unnecessary AsyncReadEither type, use future::Either
chunningham Nov 10, 2022
f19f8b7
impl a basic NetworkBehaviour and config objects
chunningham Nov 3, 2022
cc06cec
move relay out of config
chunningham Nov 3, 2022
01c56ba
make generic over kad store and kad store config
chunningham Nov 3, 2022
7b959e1
extra config stuff, add swarm type
chunningham Nov 3, 2022
0f2523f
IdentifyConfig conveniance changes
chunningham Nov 4, 2022
eebd4d1
renames and streamline the builder process
chunningham Nov 4, 2022
04ff83e
move behaviour to p2p mod and split into sub-mods
chunningham Nov 4, 2022
0fbfefe
unused warns and stuff
chunningham Nov 4, 2022
46a41c1
add autonat to behaviour
chunningham Nov 4, 2022
800226a
add an incomplete relay impl
chunningham Nov 4, 2022
303db10
impl partially stubbed relay node with task
chunningham Nov 10, 2022
7312d46
minor builder refactors
chunningham Nov 10, 2022
44f5ec0
wip
chunningham Nov 10, 2022
23fdec1
make transport configs actually convenient
chunningham Nov 10, 2022
c170f26
fix errors
chunningham Nov 10, 2022
ee2a7eb
use IntoTransport in relay::launch
chunningham Nov 10, 2022
b8c7c86
clean up some unused builder stuff
chunningham Nov 10, 2022
3c9902d
get addrs and listen with relay via the event channels
chunningham Nov 10, 2022
2c179e4
comments, add vanilla dns to kepler relay peer
chunningham Nov 23, 2022
94432ac
remove currently unnecessary modules
chunningham Nov 23, 2022
ecd60a2
remove janky builder derive workaround
chunningham Nov 23, 2022
ea5d08f
warnings
chunningham Nov 23, 2022
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
6 changes: 6 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
run: |
rustup target add wasm32-unknown-unknown

- name: Install Protoc
uses: arduino/setup-protoc@v1

- name: Build
working-directory: ${{ matrix.pkg }}
run: cargo build
Expand All @@ -46,6 +49,9 @@ jobs:
run: |
rustup target add wasm32-unknown-unknown

- name: Install Protoc
uses: arduino/setup-protoc@v1

- name: Clippy
working-directory: ${{ matrix.pkg }}
run: RUSTFLAGS="-Dwarnings" cargo clippy
Expand Down
Loading