]> 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>
Thu, 1 Oct 2020 05:41:23 +0000 (22:41 -0700)
Arrows should signify "calls" or "generates" unless noted.

ARCH.md

diff --git a/ARCH.md b/ARCH.md
index 3e2c3091be57adddc7ee9deec9e881510b46025c..5b9304cce009f8d9b3eb1a7fcff3721fc3efb094 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::Filter |
                       ----------------------   ---------   -----------------