bitcoin/bitcoin has 573,534 source lines of code out of 679,565 total lines across 1,605 files, counted with tokei from the master ref at commit 6f1365e34f51 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-10 (commit 6f1365e34f51), bitcoin/bitcoin contains 679,565 total lines: 573,534 code, 63,531 comments, 42,500 blank, across 1,605 files in 25 languages (top language: TypeScript 50.0%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bitcoin/bitcoin to commit 6f1365e34f51, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 84.4% of all lines, comments represent 9.3%, and the repository averages 357 code lines per file. TypeScript accounts for 50.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| TypeScript | 101 | 286829 | 286631 | 0 | 198 |
| C++ | 520 | 181960 | 140566 | 20324 | 21070 |
| C Header | 625 | 120693 | 73854 | 31946 | 14893 |
| C | 25 | 32927 | 29793 | 1663 | 1471 |
| JSON | 6 | 20694 | 20694 | 0 | 0 |
| Python | 36 | 8906 | 6925 | 817 | 1164 |
| CMake | 75 | 7215 | 5720 | 754 | 741 |
| Makefile | 43 | 2271 | 1776 | 176 | 319 |
| Shell | 31 | 2199 | 1483 | 379 | 337 |
| BASH | 24 | 2209 | 1400 | 525 | 284 |
| M4 | 5 | 1212 | 781 | 201 | 230 |
| GNU Style Assembly | 2 | 925 | 754 | 96 | 75 |
Top language: TypeScript 50.0%. Generated on .
bitcoin/bitcoin: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
bitcoin/bitcoin has 573,534 lines of code, plus 63,531 comment lines and 42,500 blank lines, for 679,565 total lines at commit 6f1365e34f51 on November 10, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6f1365e34f51, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 6f1365e34f51 on November 10, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for bitcoin/bitcoin on this page — 573,534 code lines across 25 languages, counted by tokei.