Page MenuHomePhabricator

[web][native] persist Outbound P2P messages when processing store ops
ClosedPublic

Authored by kamil on May 20 2024, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 23, 3:43 PM
Unknown Object (File)
Mon, Dec 23, 3:43 PM
Unknown Object (File)
Mon, Dec 23, 3:43 PM
Unknown Object (File)
Mon, Dec 23, 3:43 PM
Unknown Object (File)
Wed, Dec 4, 5:54 PM
Unknown Object (File)
Mon, Nov 25, 11:33 PM
Unknown Object (File)
Nov 22 2024, 3:16 PM
Unknown Object (File)
Nov 22 2024, 9:46 AM
Subscribers

Details

Summary

It's important to address messages to the other peers in the same SQLite transaction as updating our own store (we don't have state-sync yet so this allows us to make sure data is consistent).

Later on, this data will be encrypted and sent through Tunnelbroker (D12132).

Depends on D12129

Test Plan

Make sure messages are persisted (added some mock and read it later).
Tested end-to-end in: D12133

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.May 21 2024, 1:23 AM
kamil edited the summary of this revision. (Show Details)
kamil edited the summary of this revision. (Show Details)
kamil edited the test plan for this revision. (Show Details)
kamil added inline comments.
native/cpp/CommonCpp/NativeModules/CommCoreModule.cpp
430–469

I guess this could be extracted to a separate function but wondering what reviewers think

This revision is now accepted and ready to land.May 23 2024, 6:38 AM