{"id":18437901,"url":"https://github.com/zilliqa/block-verifications","last_synced_at":"2025-04-14T13:14:28.962Z","repository":{"id":96250982,"uuid":"449590635","full_name":"Zilliqa/block-verifications","owner":"Zilliqa","description":null,"archived":false,"fork":false,"pushed_at":"2022-01-24T09:03:47.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-02-16T10:42:59.364Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zilliqa.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}},"created_at":"2022-01-19T07:29:38.000Z","updated_at":"2023-10-02T05:43:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"a797b32a-c5c3-4e45-ac3c-75434b0fba69","html_url":"https://github.com/Zilliqa/block-verifications","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2Fblock-verifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2Fblock-verifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2Fblock-verifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zilliqa%2Fblock-verifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zilliqa","download_url":"https://codeload.github.com/Zilliqa/block-verifications/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248886341,"owners_count":21177645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T06:16:37.524Z","updated_at":"2025-04-14T13:14:28.936Z","avatar_url":"https://github.com/Zilliqa.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# block-verifications\n\nThis project demonstrates how to verify block by block using zilliqa golang sdk. Here is the steps:\n\n1. get current ds block number, tx block number and DS committee list\n2. wait a new tx block got generated\n3. check tx block's header, detect if there is a new ds block generated\n4. if there is a new ds block, verify it first, get new DS committee list, verify tx block after that\n5. if there is no new ds block, verify tx block directly\n6. goto 2\n\nLinks\n\n1. tx block verification: https://github.com/Zilliqa/gozilliqa-sdk/blob/master/verifier/verifier.go#L116\n2. ds block verification: https://github.com/Zilliqa/gozilliqa-sdk/blob/master/verifier/verifier.go#L108\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliqa%2Fblock-verifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzilliqa%2Fblock-verifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzilliqa%2Fblock-verifications/lists"}