tree: 1104a41895c2e8fd264337eca65754e6581dffa7 [path history] [tgz]
  1. BUILD.gn
  2. ledger_communicator.h
  3. page_communicator.h
  4. README.md
  5. user_communicator.h
  6. user_communicator_factory.h
src/ledger/bin/p2p_sync/public/README.md

Peer-to-peer communication

The Ledger supports peer-to-peer synchronization between devices able to communicate directly.

Protocol

The protocol used for P2P communication is based on message passing. Messages are defined in //src/ledger/bin/p2p_sync/impl/message.fbs. This is not an RPC-like system : most messages do not expect any response, and the protocol should be resilient to devices not answering.