Skip to content

EspressoSystems/timeboost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timeboost

A decentralized sequencer integrated with the Espresso Network for fast transaction confirmations. This implementation follows the Felten-Shoup Decentralized Timeboost specification, using Sailfish consensus with an optional encrypted mempool based on the SG01 threshold decryption scheme.

Overview

This repository provides a complete decentralized sequencer implementation with configurable transaction ordering policies:

  • Timeboost Mode: Priority-based ordering with express lanes via Timeboost contracts
  • FCFS Mode: First-come-first-served ordering

Both modes support an optional encrypted mempool using threshold encryption for transaction privacy before ordering.

Written in Rust with comprehensive testing infrastructure.

Architecture

timeboost/
├── Core Components
│   ├── timeboost/               # Main orchestration and API layer
│   ├── timeboost-builder/       # Block certification and Espresso submission
│   ├── timeboost-sequencer/     # Transaction ordering and threshold decryption
│   ├── timeboost-types/         # Shared type definitions
│   ├── timeboost-crypto/        # Threshold encryption (TPKE) and DKG
│   ├── timeboost-config/        # Node and committee configuration
│   └── timeboost-utils/         # Common utilities
│
├── Consensus Layer
│   ├── sailfish/                # Consensus coordinator and handover management
│   ├── sailfish-consensus/      # DAG-based BFT consensus
│   ├── sailfish-rbc/            # Reliable broadcast channel
│   └── sailfish-types/          # Consensus type definitions
│
├── Networking
│   ├── cliquenet/               # P2P networking (Noise protocol, X25519)
│   └── multisig/                # Signatures and quorum certificates
│
└── Infrastructure
    ├── adapters/                # CBOR encoding adapters
    ├── robusta/                 # Espresso network client
    ├── state-io/                # Persistent state backends
    ├── test-utils/              # Test infrastructure
    ├── tests/                   # Integration tests
    └── times/                   # Performance metrics

Prerequisites

Usage

Build

Debug build

just build

Release build

just build-release

Run

Run in Docker

just docker run-integration

Lint

just lint

Test

just test

License

Copyright (c) 2025 Espresso Systems. Sailfish and Decentralized Timeboost were developed by Espresso Systems. While we plan to adopt an open source license, we have not yet selected one. As such, all rights are reserved for the time being. Please reach out to us if you have thoughts on licensing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 24

Languages