Amiga-Z Wiki

“Modern tools for old-school communities.”

User Tools

Site Tools


robinnet:models

models.py

Defines message structures and hashing logic.

This module provides:

  • message builders
  • validation helpers
  • canonical message serialization
  • SHA256 hashing

Example

from robinnet.models import build_bulletin
 
msg = build_bulletin(
  origin_node_uuid="node-uuid",
  origin_node_name="alpha",
  title="Test",
  body="Hello world"
)
robinnet/models.txt · Last modified: by freedomotter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki