]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix architecture diagram arrow directions
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 3 Aug 2020 23:55:11 +0000 (16:55 -0700)
committerJeffrey Czyz <jkczyz@gmail.com>
Fri, 7 Aug 2020 00:30:39 +0000 (17:30 -0700)
Arrows should signify "calls" or "generates" unless noted.

ARCH.md

diff --git a/ARCH.md b/ARCH.md
index 495c1c65e6e583ac80fa8905706ce2cb6d8a2ee8..c572c807ed23cbc639074bceac9818472e309b67 100644 (file)
--- a/ARCH.md
+++ b/ARCH.md
@@ -37,14 +37,14 @@ At a high level, some of the common interfaces fit together as follows:
                      -----------------
                      | KeysInterface |  --------------
                      -----------------  | UserConfig |
-         --------------------       |   --------------
-   ------| MessageSendEvent |       |   |     ----------------
+         --------------------       ^   --------------
+   ------| MessageSendEvent |       |   ^     ----------------
   /      --------------------       |   |     | FeeEstimator | <-----------------------
  |   (as MessageSendEventsProvider) |   |     ----------------                         \
- |                         ^        |   |    /                ------------------------  |
+ |                         ^        |   |    ^                ------------------------  |
  |                          \       |   |   /      ---------> | BroadcasterInterface |  |
  |                           \      |   |  /      /           ------------------------  |
- |                            \     v   v v      /                          ^           |
+ |                            \     |   | /      /                          ^           |
  |    (as                      ------------------       ----------------    |           |
  |    ChannelMessageHandler)-> | ChannelManager | ----> | chain::Watch |    |           |
  v               /             ------------------       ----------------    |           |
@@ -54,8 +54,8 @@ At a high level, some of the common interfaces fit together as follows:
  |                    -----------------        \       _----------------   /           /
  |                    | chain::Access |         \     / | ChainMonitor |---------------
  |                    -----------------          \   /  ----------------
- |                            |                   \ /          |
-(as RoutingMessageHandler)    v                    v           v
+ |                            ^                   \ /          |
+(as RoutingMessageHandler)    |                    v           v
   \                   ----------------------   ---------   -----------------
    -----------------> | NetGraphMsgHandler |   | Event |   | chain::Notify |
                       ----------------------   ---------   -----------------