{"id":42631762,"url":"https://github.com/bancaditalia/itcoin-fbft","last_synced_at":"2026-01-29T05:21:53.564Z","repository":{"id":168986166,"uuid":"644825878","full_name":"bancaditalia/itcoin-fbft","owner":"bancaditalia","description":"Certified Byzantine Fault Tolerance with Schnorr signature aggregation","archived":false,"fork":false,"pushed_at":"2023-09-29T13:18:36.000Z","size":7625,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-09-09T13:51:24.642Z","etag":null,"topics":["bft-protocols","byzantine-fault-tolerance","consensus","distributed-systems","dlt"],"latest_commit_sha":null,"homepage":"https://bancaditalia.github.io/itcoin","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bancaditalia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-24T10:37:15.000Z","updated_at":"2024-11-26T19:19:03.000Z","dependencies_parsed_at":"2024-01-18T18:50:17.867Z","dependency_job_id":null,"html_url":"https://github.com/bancaditalia/itcoin-fbft","commit_stats":null,"previous_names":["bancaditalia/itcoin-fbft"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bancaditalia/itcoin-fbft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bancaditalia%2Fitcoin-fbft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bancaditalia%2Fitcoin-fbft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bancaditalia%2Fitcoin-fbft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bancaditalia%2Fitcoin-fbft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bancaditalia","download_url":"https://codeload.github.com/bancaditalia/itcoin-fbft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bancaditalia%2Fitcoin-fbft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28863511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bft-protocols","byzantine-fault-tolerance","consensus","distributed-systems","dlt"],"created_at":"2026-01-29T05:21:53.004Z","updated_at":"2026-01-29T05:21:53.554Z","avatar_url":"https://github.com/bancaditalia.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frosted Byzantine Fault Tolerance (FBFT)\n\n[![tests](https://github.com/bancaditalia/itcoin-fbft/actions/workflows/test-itcoin-fbft.yml/badge.svg?branch=main\u0026event=push)](https://github.com/bancaditalia/itcoin-fbft/actions/workflows/test-itcoin-fbft.yml)\n\nThis repository contains the implementation of an itcoin \"consensus node\",\nwhich implements the Frosted Byzantine Fault Tolerance (FBFT) Proof-of-Authority consensus algorithm for the **itcoin** blockchain.\nYou can find more information about itcoin at [the project web page](https://bancaditalia.github.io/itcoin).\n\nPlease note that this software is solely intended for testing and experimentation purposes, and is not ready for use in a production environment: In its current form, it misses features — such as support for dynamic federations — that are crucial for any real-world deployment.\n\n👇👇👇 Hereafter you find the instructions to get started with FBFT. 👇👇👇\n\n## Quick start on Ubuntu 22.04 LTS\n\n1. Install build and dev dependencies with apt (system-wide):\n\n```\nsudo apt install --no-install-recommends -y \\\n    autoconf \\\n    automake \\\n    bsdextrautils \\\n    ca-certificates \\\n    cmake \\\n    g++ \\\n    gcc \\\n    git \\\n    jq \\\n    libtool \\\n    make \\\n    openssh-client \\\n    pkg-config \\\n    python3 \\\n    tmux \\\n    xxd \\\n    zlib1g-dev\n\nsudo apt install --no-install-recommends -y \\\n    libargtable2-dev \\\n    libboost-filesystem1.74-dev \\\n    libboost-log1.74-dev \\\n    libboost-program-options1.74-dev \\\n    libboost-test1.74-dev \\\n    libboost-thread1.74-dev \\\n    libcurl4-openssl-dev \\\n    libdb5.3++-dev \\\n    libevent-dev \\\n    libsqlite3-dev \\\n    libssl-dev \\\n    libzmq3-dev \\\n    swi-prolog\n```\n\n2. Clone the repository `itcoin-core`\n\n```bash\ncd ~\ngit clone https://github.com/bancaditalia/itcoin-core.git\n```\n\n3. Clone the repository `bancaditalia/itcoin-fbft`, at the same level of `itcoin-core`:\n\n```bash\ncd ~\ngit clone https://github.com/bancaditalia/itcoin-fbft.git\n```\n\n4. Build the project\n\n```\ncd ~/itcoin-fbft\nmkdir build\ncd build\ncmake -DITCOIN_CORE_SRC_DIR=../../itcoin-core ..\nmake -j$(nproc --ignore=1)\n```\n\n5. Reset and start 4 mining network bridge nodes.\n\nThis will setup a 4-nodes infrastructure with 10 seconds target block time.\n\n```\ncd ~/itcoin-fbft\n./infra/reset-infra.sh 10\n./infra/start-infra.sh\n```\n\nThe above command will spawn 4 itcoin-core daemon nodes that are used for\ntesting.\nYou can query the state of the mining nodes using the command line.\nAfter a reset, all nodes should have 0 blocks.\n\n```\ncd ~/itcoin-fbft\n./infra/bitcoin-cli.sh 0 getblockchaininfo\n./infra/bitcoin-cli.sh 1 getblockchaininfo\n./infra/bitcoin-cli.sh 2 getblockchaininfo\n./infra/bitcoin-cli.sh 3 getblockchaininfo\n```\n\n6. Start the miner consensus nodes\n\nWe suggest that you run the four nodes in different terminals:\n\n```\ncd ~/itcoin-fbft\nbuild/src/main -datadir=infra/node00\nbuild/src/main -datadir=infra/node01\nbuild/src/main -datadir=infra/node02\nbuild/src/main -datadir=infra/node03\n```\n\n## Run the tests\n\nEnsure that the 4 mining network bridge nodes are up and running. Then launch:\n\n```\ncd ~/itcoin-fbft/build\nmake test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbancaditalia%2Fitcoin-fbft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbancaditalia%2Fitcoin-fbft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbancaditalia%2Fitcoin-fbft/lists"}