Skip to content

Latest commit

 

History

History
61 lines (50 loc) · 1.21 KB

node-components.adoc

File metadata and controls

61 lines (50 loc) · 1.21 KB

Node P2P components

Node P2P components
flowchart LR
    Addrman
    Banman
    CConnman
    CTxMempool
    ChainstateManager
    NetGroupManager
    Peerman
    Asmap{{Asmap}}
    peers.dat{{peers.dat}}
    anchors.dat{{anchors.dat}}
    banlist.dat{{banlist.dat}}
    mempool.dat{{mempool.dat}}

    subgraph node
        node.netgroupman
        node.addrman
        node.banman
        node.connman
        node.mempool
        node.chainman
        node.peerman
    end

    Asmap -.-> NetGroupManager
    peers.dat -.-> Addrman
    Addrman --> node.addrman

    NetGroupManager --> Addrman
    NetGroupManager --> CConnman
    NetGroupManager --> node.netgroupman

    banlist.dat -.-> Banman
    Banman --> Peerman
    Banman --> node.banman

    Addrman --> CConnman
    anchors.dat -.-> CConnman
    CConnman --> node.connman

    mempool.dat -.-> CTxMempool
    CTxMempool --> Peerman
    CTxMempool --> node.mempool

    ChainstateManager --> node.chainman

    Addrman --> Peerman
    CConnman --> Peerman
    Peerman --> node.peerman