Crates.io | flnode |
lib.rs | flnode |
version | |
source | src |
created_at | 2022-10-26 07:02:38.081984+00 |
updated_at | 2025-02-25 21:51:07.913874+00 |
description | Glue code for flmodules |
homepage | https://fledg.re |
repository | https://github.com/ineiti/fledger |
max_upload_size | |
id | 697606 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
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 Update
s.
The advantage of this is to have a structure that does
not need to be protected by a Mutex.