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

feat(network): upgrade p2p layer #1878

Merged
merged 64 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
ea4c538
WIP: start implementing events and request response
onur-ozkan Jun 22, 2023
df3910c
WIP: dummpy implementation for p2p request-response
onur-ozkan Jun 22, 2023
ca352ea
implement `peers` and `ping` behaviours
onur-ozkan Jun 22, 2023
16ab3e8
implement in memory peer store behaviour
onur-ozkan Jun 23, 2023
7fe3672
implement swarm runtime and partial root behaviour
onur-ozkan Jun 23, 2023
e9c7a23
save dev state
onur-ozkan Jun 23, 2023
b459a7f
[WIP] define `AtomicDexGossipsub` with relays in it
onur-ozkan Jul 5, 2023
5174fd2
partially implement relay behaviour
onur-ozkan Jul 6, 2023
40e564c
extend `relay::ControlAction`
onur-ozkan Jul 6, 2023
c37d6a1
move to `KomodoPlatform/rust-libp2p`
onur-ozkan Jul 7, 2023
a13b817
save dev state
onur-ozkan Jul 8, 2023
53b7418
save dev state
onur-ozkan Jul 8, 2023
82fbe06
save dev state
onur-ozkan Jul 9, 2023
d598716
WIP: implement `NetworkBehaviour` for `AtomicDexBehaviour`
onur-ozkan Jul 9, 2023
b2427cc
complete ping implementation
onur-ozkan Jul 9, 2023
3c6134f
implement most of the `peers_exchange`
onur-ozkan Jul 10, 2023
96335e0
implement most of `request_response`
onur-ozkan Jul 10, 2023
980ac88
test new layer with `--no-fail-fast` flag
onur-ozkan Jul 10, 2023
4f201ac
update mesh configuration and message signing
onur-ozkan Jul 10, 2023
4bad749
run gossipsub
onur-ozkan Jul 12, 2023
3ecf66c
bump libp2p
onur-ozkan Jul 12, 2023
7544912
add todo
onur-ozkan Jul 12, 2023
4ad9dd4
activate sub behaviours abstracted in `CoreBehaviour`
onur-ozkan Jul 13, 2023
ee0864d
bump libp2p
onur-ozkan Jul 13, 2023
6bfb404
print error log on `GossipsubEvent::GossipsubNotSupported`
onur-ozkan Jul 13, 2023
252b9ad
bump libp2p
onur-ozkan Jul 17, 2023
d97294d
handle request-response polling
onur-ozkan Jul 17, 2023
1839c74
improve request-response protocol polling
onur-ozkan Jul 17, 2023
25bf016
update ping polling
onur-ozkan Jul 18, 2023
6b79b65
delay `test_best_orders_v2_exclude_mine`
onur-ozkan Jul 18, 2023
0840f7a
delay `trade_test_electrum_and_eth_coins`
onur-ozkan Jul 18, 2023
d506392
enable wasm with new p2p layer
onur-ozkan Jul 18, 2023
f7e9f18
delay wasm tests
onur-ozkan Jul 18, 2023
c73a326
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Jul 18, 2023
ed8d4d7
bump ndk version to 23 for android
onur-ozkan Jul 19, 2023
09c6c69
optimize nested match
onur-ozkan Jul 19, 2023
4423f62
resolve warnings
onur-ozkan Jul 19, 2023
c9da54f
re-organize network layer
onur-ozkan Jul 20, 2023
dc1584b
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Jul 20, 2023
08c0a68
use released tag of libp2p@0.52.1
onur-ozkan Jul 20, 2023
8ef5fd9
improve iris swap test
onur-ozkan Jul 20, 2023
3c246dc
remove debug lines
onur-ozkan Jul 20, 2023
092d562
update mesh config
onur-ozkan Jul 24, 2023
0c00797
update comments
onur-ozkan Jul 24, 2023
b62e580
optimize lp_network
onur-ozkan Jul 25, 2023
f8e51b6
better error handling in atomicdex p2p behaviour
onur-ozkan Jul 25, 2023
9e69488
cleanup dep-tree of `mm_p2p`
onur-ozkan Jul 25, 2023
b068a7f
disable old p2p layer
onur-ozkan Jul 25, 2023
fc02e51
sort workspace crates
onur-ozkan Jul 26, 2023
ab12dd0
reduce duplicated dependencies in tree
onur-ozkan Jul 26, 2023
14c3297
ignore hardcoded seed if it's the currently running one
onur-ozkan Aug 3, 2023
055b361
try
onur-ozkan Aug 3, 2023
bdac6a1
try
onur-ozkan Aug 3, 2023
a78e6bc
fix keep alive
onur-ozkan Aug 7, 2023
a0e8c66
define `MAX_BUFFER_SIZE` under `mm2_p2p::behaviours::atomicdex`
onur-ozkan Aug 10, 2023
2dc9bcf
broadcast only related trie roots on keep-alive
onur-ozkan Aug 10, 2023
4dbd3b8
simplify orderbook message handling
onur-ozkan Aug 21, 2023
a4f28ba
bump mm2
onur-ozkan Aug 24, 2023
fea353e
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Aug 24, 2023
ec60bf9
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Sep 2, 2023
c504939
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Sep 27, 2023
73b8aac
bump default netid
onur-ozkan Sep 28, 2023
41a4a85
Merge branch 'dev' of github.com:KomodoPlatform/atomicDEX-API into re…
onur-ozkan Sep 28, 2023
f9dcac7
fix wasm lint
onur-ozkan Sep 28, 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
4 changes: 2 additions & 2 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ jobs:
rustup target add aarch64-linux-android

- name: Setup NDK
run: ./scripts/ci/android-ndk.sh x86 21
run: ./scripts/ci/android-ndk.sh x86 23

- name: Calculate commit hash for PR commit
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -440,7 +440,7 @@ jobs:
rustup target add armv7-linux-androideabi

- name: Setup NDK
run: ./scripts/ci/android-ndk.sh x86 21
run: ./scripts/ci/android-ndk.sh x86 23

- name: Calculate commit hash for PR commit
if: github.event_name == 'pull_request'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ jobs:
rustup target add aarch64-linux-android

- name: Setup NDK
run: ./scripts/ci/android-ndk.sh x86 21
run: ./scripts/ci/android-ndk.sh x86 23

- name: Calculate commit hash for PR commit
if: github.event_name == 'pull_request'
Expand Down Expand Up @@ -396,7 +396,7 @@ jobs:
rustup target add armv7-linux-androideabi

- name: Setup NDK
run: ./scripts/ci/android-ndk.sh x86 21
run: ./scripts/ci/android-ndk.sh x86 23

- name: Calculate commit hash for PR commit
if: github.event_name == 'pull_request'
Expand Down
Loading
Loading