Toychain
Overview
George Pirlea, Ilya Sergey (University College London, UK) Also Karl Palmskog in development
Master thesis of George Pรฎrlea
The protocolโs executions are modeled via a small-step operational semantics for asynchronous message passing, in which packages can be rearranged or duplicated.
Code extraction
Extensions
Karl Palmskog et.al.
Consistency
Quiescent consistency (on blocks, not transactions)
"when there are no inflight messages between any of the nodes, they all should agree on the local ledger, which can be, thus, thought of as a globally shared one"
citing these paper
Sebastian Burckhardt (Microsoft Research), et al.
"globally shared"
Douglas B. Terry et. al. by Xerox Palo Alto Research Center
cited by more than 1000 papers
Assumption
no in-flight instances only of BlockMsg
a clique network topology for simplicity
restricting the initial configurations to those where every nodeโs known peers include all addresses in the global state.
no "late joiners"
inductive for systems that start in initial configurations with a clique network topology
no crash faults nor byzantine faults
Theorem 5.1 (Consensus in a clique topology).
For ๐ = โจโ, ๐โฉ, if Cliq(๐) holds, then there exists a chain ๐, such that for any node ๐ โ dom(๐), ๐ โฅ ledger (โ, ๐) and blocksFor (๐, ๐) = โ
implies ledger (โ, ๐) = c
Probabilistic analysis
Kiran Gopinathan (University College London, UK), Ilya Sergey (Yale-NUS College and School of Computing, NUS, Singapore)
Bitcoin Backbone Protocol in Coq
Built on libraries by Affeldt and Hagiwara, which provides a probability framework implemented on top of the Ssreflect extension for Coq