{"id":13714250,"url":"https://github.com/sig-0/go-ibft","last_synced_at":"2026-02-07T12:05:51.455Z","repository":{"id":177231520,"uuid":"632072478","full_name":"sig-0/go-ibft","owner":"sig-0","description":" A minimal and compact IBFT 2.0 engine implementation, written in Go. Maintained by the original authors","archived":false,"fork":false,"pushed_at":"2025-11-22T18:45:25.000Z","size":787,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-22T20:30:27.336Z","etag":null,"topics":["consensus","distributed","go","ibft","ibft2","protocol"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sig-0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"NOTICE.md","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-04-24T16:46:40.000Z","updated_at":"2025-06-07T10:32:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"aa8e0160-54a1-4846-9a38-16f378a9c9d2","html_url":"https://github.com/sig-0/go-ibft","commit_stats":null,"previous_names":["madz-lab/go-ibft","sig-0/go-ibft"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/sig-0/go-ibft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sig-0%2Fgo-ibft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sig-0%2Fgo-ibft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sig-0%2Fgo-ibft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sig-0%2Fgo-ibft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sig-0","download_url":"https://codeload.github.com/sig-0/go-ibft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sig-0%2Fgo-ibft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["consensus","distributed","go","ibft","ibft2","protocol"],"created_at":"2024-08-02T23:01:55.644Z","updated_at":"2026-02-07T12:05:51.450Z","avatar_url":"https://github.com/sig-0.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"## Overview\n\n`go-ibft` is a simple, straightforward, IBFT state machine implementation.\n\nIt doesn't contain fancy synchronization logic, or any kind of transaction execution layer.\nInstead, `go-ibft` is designed from the ground up to respect and adhere to the\n`IBFT 2.0` [specification document](https://arxiv.org/abs/1909.10194).\n\nInside this package, you’ll find that it solves the underlying liveness and persistence issues of the original IBFT\nspecification, as well as that it contains a plethora of optimizations that make it faster and more lightweight. For a\ncomplete specification overview on the package, you can check out the official documentation.\n\nAs mentioned before, `go-ibft` implements basic IBFT 2.0 state machine logic, meaning it doesn’t have any kind of\ntransaction execution or block building mechanics. That responsibility is left to the `Backend` implementation.\n\n## Installation\n\nTo get up and running with the `go-ibft` package, you can pull it into your project using:\n\n`go get github.com/sig-0/go-ibft`\n\nCurrently, the minimum required go version is `go 1.19`.\n\n## Usage Examples\n\n```go\npackage main\n\nimport \"github.com/sig-0/go-ibft\"\n\n// IBFTBackend is the structure that implements all required\n// go-ibft Backend interfaces\ntype IBFTBackend struct {\n\t// ...\n}\n\n// IBFTLogger is the structure that implements all required\n// go-ibft Logger interface\ntype IBFTLogger struct {\n\t// ...\n}\n\n// IBFTTransport is the structure that implements all required\n// go-ibft Transport interface\ntype IBFTTransport struct {\n\t// ...\n}\n\n// ...\n\nfunc main() {\n\tbackend := NewIBFTBackned(...)\n\tlogger := NewIBFTLogger(...)\n\ttransport := NewIBFTTransport(...)\n\n\tibft := NewIBFT(logger, backend, transport)\n\n\tblockHeight := uint64(1)\n\tctx, cancelFn := context.WithCancel(context.Background())\n\n\tgo func() {\n\t\t// Run the consensus sequence for the block height.\n\t\t// When the method returns, that means that\n\t\t// consensus was reached\n\t\ti := RunSequence(ctx, blockHeight)\n\t}\n\n\t// ...\n\n\t// Stop the sequence by cancelling the context\n\tcancelFn()\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsig-0%2Fgo-ibft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsig-0%2Fgo-ibft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsig-0%2Fgo-ibft/lists"}