{"id":21102947,"url":"https://github.com/planetarium/pbftstats","last_synced_at":"2026-04-28T19:04:43.847Z","repository":{"id":97887563,"uuid":"599178533","full_name":"planetarium/pbftstats","owner":"planetarium","description":"Temporal repository for watching reports of pbft-internal status","archived":false,"fork":false,"pushed_at":"2023-02-23T15:49:07.000Z","size":50,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-21T03:11:19.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/planetarium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-02-08T16:04:48.000Z","updated_at":"2023-02-08T16:05:36.000Z","dependencies_parsed_at":"2023-05-31T11:46:11.402Z","dependency_job_id":null,"html_url":"https://github.com/planetarium/pbftstats","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/planetarium%2Fpbftstats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetarium%2Fpbftstats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetarium%2Fpbftstats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/planetarium%2Fpbftstats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/planetarium","download_url":"https://codeload.github.com/planetarium/pbftstats/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243546495,"owners_count":20308513,"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-19T23:57:15.899Z","updated_at":"2025-12-28T19:15:00.210Z","avatar_url":"https://github.com/planetarium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Description\n\nTemporal repository for watching reports of pbft-internal status\n\n### Install (local)\n\n```bash\npip install -e .\n```\n\n### Usage (local)\n\nMove to app directory, then  \n```bash\npython -m application.py\n```\nReports will be shown on `localhost:8050`.  \n\n### Install (deploy)\n\n```bash\npip install -r /tmp/requirements.txt\n```\n\n### Usage (deploy)\n\nMove to app directory, then  \n```bash\ngunicorn -b :80 application:server\n```\nReports will be shown on port `80`.  \n\nTo update daily report, background app is needed.  \nYou can trigger it by  \n```bash\npython -m background.py\n```\n\n\n### Validator status\n![validator_status](https://user-images.githubusercontent.com/39043516/217773295-8fca7835-0fea-4a9a-9d3f-fc528d84377d.png)\n\nNode status of validators : generated by `nodeStatus` gql query.\n- Green circle : `Online`\n- Red circle : `Offline`\n\nLatest votes of validators : generated by `blockQuery` gql query. (fetch 30 recent blocks)\n- Green circle : `PreCommit` vote\n- Red circle : `Null` vote\n\n### Daily report\n![daily_report](https://user-images.githubusercontent.com/39043516/217773309-df4fe7d1-52a2-4d9b-a5ba-98e4a06b4661.png)\n\npbftstats.application will trigger script that saves daily logs and reports, and show reports on browser.  \n\nNumber of precommits per each validator : daily precommit sum of validators  \nNumber of transactions per each player : daily transactions of players  \n\nTime will be taken for gathering sufficient logs before report shown on the browser.  \n\n### If you don't need report on local mode\n\nBelow two lines on `application.py` is used for collecting data and generating report.  \nIf you don't need, you may remove those lines.  \n\n```python\ncollect(collect_path, host_url, collect_start_block_index, collect_chunk_size)\nProcess(target=report, args=(collect_path, report_path, report_interval)).start()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetarium%2Fpbftstats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplanetarium%2Fpbftstats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplanetarium%2Fpbftstats/lists"}