tree: 8674e1ffd210c096f75aabe3bd315a5115aa94dd [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
peridot/bin/ledger/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 //peridot/bin/ledger/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.