mirror of
https://github.com/saymrwulf/crisis.git
synced 2026-05-14 20:37:54 +00:00
Complete Python PoC of "Probabilistically Self Organizing Total Order in Unstructured P2P Networks". Implements all 10 algorithms from the paper: message generation, integrity checks, Lamport graphs, virtual synchronous rounds, safe voting patterns, virtual leader election (BA*), longest chain rule, total order via Kahn's algorithm, and push/pull gossip. Includes simulation harness, full node binary, and 72 passing tests. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
30 lines
646 B
TOML
30 lines
646 B
TOML
[project]
|
|
name = "crisis"
|
|
version = "0.1.0"
|
|
description = "Crisis: Probabilistically Self Organizing Total Order in Unstructured P2P Networks"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = "CC-BY-4.0"
|
|
authors = [
|
|
{ name = "Mirco Richter (paper)", email = "mirco.richter@mailbox.org" },
|
|
]
|
|
dependencies = [
|
|
"networkx>=3.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.0",
|
|
"rich>=13.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
crisis-node = "crisis.node:main"
|
|
crisis-demo = "crisis.demo:main"
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=68.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|