X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ARCH.md;h=237a85557b1f2d15e26a8e3ce43a880e5cd3211f;hb=27079e04d7b542058e48cafaf5c2e7114b3b8e15;hp=dba91e7f2bc4444a0809e2136b0316e516107b0d;hpb=f0b037ce146d147d2dcfbb9610d2fa84ef8b539a;p=rust-lightning diff --git a/ARCH.md b/ARCH.md index dba91e7f..237a8555 100644 --- a/ARCH.md +++ b/ARCH.md @@ -11,8 +11,8 @@ receive `ChannelMonitorUpdate`s from `ChannelManager` and persist them to disk b channel steps forward. There are two additional important structures that you may use either on the same device -as the `ChannelManager` or on a separate one. `Router` handles receiving channel and node -node announcements and calculates routes for sending payments. `PeerManager` handles the +as the `ChannelManager` or on a separate one. `Router` handles receiving channel and node +announcements and calculates routes for sending payments. `PeerManager` handles the authenticated and encrypted communication protocol, monitoring for liveness of peers, routing messages to `ChannelManager` and `Router` instances directly, and receiving messages from them via the `EventsProvider` interface.