Skip to content
Snippets Groups Projects
Select Git revision
  • 2576d3e061ba521b731fa688d52056880477be2b
  • master default protected
  • feat/1/increase-antispam-limits
  • duniter-v2s-issue-123-industrialize-releases
  • fix/1/test-cgeek
  • fix/1/add_get_transactions_for_bma
6 results

src

Duniter Core

pipeline status dependency status

Set of Rust libraries that implement the core Duniter logic and expose everything needed by Duniter modules.

This repository includes (non-hexaustive list):

  • The configuration of a Duniter node (conf)
  • The definition of the Duniter databases
  • The block indexing code (dbs-write-ops)
  • Distance rule checking (dubp-wot)
  • Business processing for mempool inserts (mempool)
  • The interface that modules must implement (module)

Duniter modules

The main Duniter modules are in the nodes/rust/modules subgroup of duniter gitlab. Some modules may be located elsewhere, if their creator or maintainer has decided so.

To implement your own module, you just need to define a Rust type that implements the DuniterModule trait.

Other repositories

Duniter's code is separated into several git repositories:

  • dubp-rs-libs contains the logic common to Duniter and its customers.
  • duniter-core contains the core code of Duniter.
  • The gitlab subgroup nodes/rust/modules contains the main Duniter modules code (gva, admin, etc).
  • The duniter repository contains the "official" implementations of the "duniter-cli" and "duniter-desktop" programs with their default modules (also contains the historical implementation being migrated).