3 unstable releases

0.8.0 Sep 9, 2024
0.7.1 Aug 23, 2024
0.7.0 Oct 26, 2022

#5 in #fledger

Download history 129/week @ 2024-08-23 111/week @ 2024-09-06 39/week @ 2024-09-13 11/week @ 2024-09-20 7/week @ 2024-09-27 2/week @ 2024-10-04

66 downloads per month

MIT/Apache

335KB
7.5K SLoC

Fledger Node Logic

This directory holds the logic for a Fledger Node. The Node structure sets up the different modules from flmodules and connects them with each other. It also creates a NodeData structure that collects the different statistics from the modules.

NodeData

In order for NodeData to have the latest statistics from the modules, it uses the Update messages from the modules: on every Update message, the new statistics is copied to the NodeData structure. This is done by adding a tap to the corresponding module-broker, and then going through all messages to find Updates. The advantage of this is to have a structure that does not need to be protected by a Mutex.

Dependencies

~11–28MB
~449K SLoC