Skip to content

Zero-Trust-Collective/explorations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Explorations

This repository is a preserved collection of small technical explorations from the 2025 JAM/TRAM implementation work.

It is a scratchpad of focused experiments used to answer practical implementation questions around state storage, fork handling, multiprocessing behavior, and byte-level performance.

Why It Exists

TRAM needed concrete answers for database architecture and state-transition mechanics before those choices could be folded into the client design. These scripts capture that investigative layer: small, direct experiments that tested assumptions before they became architecture.

The repository is kept as a technical artifact because it shows the reasoning behind parts of TRAM's storage and state-access design.

Contents

  • rocksdict/rocks-perf.py: load and checkpoint timing experiment for RocksDB through rocksdict.
  • rocksdict/rocks-checkpoints.py: fork-shaped checkpoint experiment using a tree of derived states.
  • rocksdict/rocks-debug.py: multiprocessing/debugging reproduction for checkpoint behavior in spawned processes.
  • pybytes/comparators.py: little-endian byte-comparison correctness and performance exploration.

Related Work

  • TRAM: JAM client and state-transition implementation.
  • TRAM wiki explorations: writeup of the database and fork-handling findings that came out of this work.
  • TVM: companion Trustless Virtual Machine assembler/runtime project.

Current Status

This repository is not currently under active development. It is published as a preserved technical artifact from the 2025 JAM implementation work.

Some scripts create and delete local state/ or tree/ directories when run. They are preserved as experiments rather than maintained tooling.

About

A collection of various poc & explorative code

Resources

Stars

Watchers

Forks

Contributors

Languages