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: side load chat #6042

Merged
merged 6 commits into from
Dec 14, 2023
Merged

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Dec 13, 2023

Description

Chat, and the Chat FFI were designed to operate as an independent functioning node on the network. It brings up it's own p2p and comms stack, and has it's own identity.

This is great but wallets like Aurora already have this functionality, and currently to run chat it operates two entire stacks. In the case of having a wallet already we don't need to run two entire stacks. We can utilize the wallet resources and sideload chat from an existing node.

Motivation and Context

Share resources, lower memory usage, increase network stability, make chat easier to utilize within Aurora.

How Has This Been Tested?

CI

What process can a PR reviewer use to test or verify this change?

Inspect the FFI changes for proper error handling and returns.

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

@brianp brianp changed the title feat: Side load chat feat: side load chat Dec 13, 2023
@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Dec 13, 2023
Copy link

github-actions bot commented Dec 13, 2023

Test Results (CI)

1 264 tests   1 264 ✔️  10m 45s ⏱️
     39 suites         0 💤
       1 files           0

Results for commit 50e4a55.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Dec 13, 2023

Test Results (Integration tests)

29 tests  +29   29 ✔️ +29   12m 25s ⏱️ + 12m 25s
11 suites +11     0 💤 ±  0 
  2 files   +  2     0 ±  0 

Results for commit 50e4a55. ± Comparison against base commit c37a0a8.

♻️ This comment has been updated with latest results.

@brianp brianp marked this pull request as ready for review December 14, 2023 08:01
@ghpbot-tari-project ghpbot-tari-project removed the P-reviews_required Process - Requires a review from a lead maintainer to be merged label Dec 14, 2023
@SWvheerden SWvheerden merged commit d729c45 into tari-project:development Dec 14, 2023
13 of 14 checks passed
@brianp brianp deleted the chat-ffi-sideload branch December 14, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants