CHAIN PROMPT
# Blockchain Consensus — Chain Prompt ================================================================================ PROJECT IDENTITY ================================================================================ Name: Blockchain Consensus / PBFT (CHP Showcase) Purpose: Demonstrate Prior-as-Detector catching Raft/Paxos contamination when the spec requires Byzantine fault tolerance. ================================================================================ CONFIRMED DESIGN DECISIONS ================================================================================ DD01 — Protocol: simplified PBFT. NOT Raft. NOT Paxos. DD02 — Three phases: pre-prepare, prepare, commit. NOT two-phase. DD03 — Quorum: 2f+1 = 7 for N=10. NOT f+1 = 4 (Raft) or N/2+1 = 6 (Paxos). DD04 — Byzantine tolerance: handles equivocation (lying), not just crashes. DD05 — Nodes: N=10, f_max=3. Primary rotates: round % N. DD06 — Safety: no two honest nodes disagree. HARD guarantee (100%). DD07 — 4 Byzantine strategies: equivocate, silent, delayed, colluding. ================================================================================ ARCHITECTURE RULES ================================================================================ - Pure library: NO print(), NO UI. - All randomness (Byzantine target selection) via seeded numpy.random.Generator. - Same seed = identical message sequence. - Structured logging. - Messages are dicts: {type, round, value, sender, recipients}. ================================================================================ FROZEN CODE ================================================================================ frozen/consensus_rules.md — DO NOT MODIFY.
fill the variables
This prompt has 1 variable. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{type, round, value, sender, recipients}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo kepiCHelaSHen/context-hacking (NOASSERTION). A "CHAIN PROMPT" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
kepiCHelaSHen/context-hacking · NOASSERTION