For the Bitcoin project on Github clicking "Show language statistics" shows that the source code is almost 74% TypeScript. Why is this so when ostensibly Bitcoin is written almost entirely in C++. Even Script, Bitcoin's programming language, has got nothing to do with TypeScript or Javascript. What am I missing? Thanks.

1 Answer 1


That's because of the QT translation files, see https://github.com/bitcoin/bitcoin/search?l=typescript

I'm not sure why they are recognized as TypeScript (it's just XML), I guess it's because of the filename extension .ts.

  • 2
    That's right, Github only looks at the sizes of files with specific extensions. Feb 17, 2014 at 19:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.