Advertisement
Guest User

Untitled

a guest
Jan 12th, 2018
1,776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.65 KB | None | 0 0
  1. Here is my analysis that IoT Chain also known as ITC is overfunded and understaffed (and bonus - stealing LGPL licensed code)
  2.  
  3. Having looked at:
  4. https://github.com/ZhuoAppSofeware/itc-blockchain
  5. And a more recent for that is considered the official git repository at the time of writing this post:
  6. https://github.com/IoTChainCode/itc-blockchain/
  7.  
  8. After reading the code I was baffled - this implements nothing! Surely it must be a joke. I am talking on the level that this is a prototype OF a prototype.
  9. I thought this surely is some playground but looking into git history gives hints that this is in fact ALL the code that the team has written.
  10.  
  11. Dateline:
  12. Oct 21, 2017 initial git commit.
  13.  
  14. Nov 6, 2017
  15. https://github.com/ZhuoAppSofeware/itc-blockchain/commit/d298c81d038ef1ebf8aee0c3582fdfb5e42372b2
  16. A strange commit message: "方案v0.1,hys初看过了。" translated via google translate to: "Program v0.1, hys had seen the first."
  17. A file named "ITC项目设计方案_v0.1.docx" is uploaded.
  18. This will probably be the "yellow paper" that the team is telling they will release soon.
  19. In full chinese but if one runs it thru google translate one can see that it’s a design document.
  20. It seems like this is the technical starting point of the project. Talking about bluetooth communication, multi leveled servers etc. Transaction logic and so on. This is all good.
  21. There is nothing wrong with this specification, thought has been put to it.
  22.  
  23. But since then it gets worse and worse. The code commits are trivial beyond belief.
  24.  
  25. Nov 10, 2017
  26. https://github.com/ZhuoAppSofeware/itc-blockchain/commit/aacffddb90f5f610b79662fc300edb491f126a47
  27. Commit message "删除部分失效文档" or in English "Delete part of the invalid document"
  28. All documentation related to the project is removed.
  29.  
  30.  
  31. Next 3 commits look like the team is trying to steal Markov Chain implementation from http://people.sc.fsu.edu/~jburkardt/c_src/dream/dream.html
  32. Nov 29, 2017
  33. https://github.com/ZhuoAppSofeware/itc-blockchain/commit/a366da5ed4eb2e4f98c6bfe65d2d05a9514f32f3
  34. v1.42 add in rnglib in mc
  35.  
  36. Nov 30, 2017
  37. https://github.com/ZhuoAppSofeware/itc-blockchain/commit/9fd1b4d1cf971864a6ff28e263c967062949cb8f
  38. v1.42 add in pdflib for mc
  39.  
  40. Dec 7, 2017
  41. https://github.com/ZhuoAppSofeware/itc-blockchain/commit/c9fe9a3df54c62ab14be4031eb3f687a90f5981e
  42. v1.42 add in mc
  43.  
  44.  
  45. This code is never really used all thru the later commits but what can we learn from this. It is still existing in the latest master branch at
  46. https://github.com/IoTChainCode/itc-blockchain/tree/master/blockchain_v1.42
  47.  
  48. mc.c is stolen from http://people.sc.fsu.edu/~jburkardt/c_src/dream/dream.html
  49. (specifically http://people.sc.fsu.edu/~jburkardt/c_src/dream/dream.c)
  50.  
  51. rnglib.c is stolen from http://people.sc.fsu.edu/~jburkardt/c_src/rnglib/rnglib.html
  52. (specifically http://people.sc.fsu.edu/~jburkardt/c_src/rnglib/rnglib.c)
  53.  
  54. pdflib.c is stolen from http://people.sc.fsu.edu/~jburkardt/c_src/pdflib/pdflib.html
  55. (specifically http://people.sc.fsu.edu/~jburkardt/c_src/pdflib/pdflib.c)
  56.  
  57. NOTICE LICENSING, EVERYTHING IS GNU LGPL, team has REMOVED all licensing information. For those not familiar with GNU licenses - LGPL does not allow this.
  58. They removed all licensing and all comments but kept everything else.
  59. The author of the original code was paranoid and licensed EVERY single function and not just the 3 files, so counting all the removed comments these are the number of LGPL violations:
  60. mc.c 39 LGPL violations
  61. pdflib.c 52 LGPL violations
  62. rnglib.c 29 LGPL violations
  63.  
  64. Funny thing is that this code is not used anywhere. And even more funny - LGPL code can be used in open source projects - it makes no sense removing the license. LGPL code can be used in open source projects but the license information must be kept intact.
  65.  
  66. My best guess is that they had to show some real mathematical code to big investors. The use of this kind of mathematics is CRUCIAL for this coin.
  67.  
  68. Commits continue daily which shows that this is not some intern doing testing - this is the real code that they have, this is ALL they have.
  69. The commits are trivial, the code is trivial, nothing is implemented on the mathematical side.
  70.  
  71. https://github.com/IoTChainCode/itc-blockchain/commits/master
  72.  
  73. Do not just trust my word, the code is so minimal that anyone who has basic C language knowledge can read it and judge what that in 3 months the implementation is basically written on the level of a beginner programmer.
  74. If one removes all files related to crypto (because they don't implement nothing new there, could have used openssl or bitcoin code), the total lines of code is:
  75. 220 blockchain.cpp
  76. 9 blockchain.h
  77. 55 include.cpp
  78. 30 include.h
  79. 18 initial.ini (technically not code)
  80. 186 layer.cpp
  81. 175 layer.h
  82. 902 layer_device.cpp
  83. 29 layer_device.h
  84. 352 layer_mainchain.cpp
  85. 11 layer_mainchain.h
  86.  
  87. 1987 total
  88.  
  89. Having gathered millions of dollars of financing they have literally written 2000 lines of code in 3 months!
  90.  
  91. PS! NB! IMPORTANT! For anyone technically competent run "git clone https://github.com/IoTChainCode/itc-blockchain" now to back up this information before they remove it from github. Or if you have a github account you can fork the code.
  92. Big investors have put millions of dollars into this - they have no option than to remove the code and move to a promise of "code will follow in the future" trust mode.
  93.  
  94. And just as a bonus here is the original Chinese time plan and how it was made to English time plan. They just added half a year. So half a year of development and 2000 lines of code:
  95. https://imgur.com/a/MCLXw
  96.  
  97. DO NOT TRUST ME OR MY OPINIONS, TRUST THE CODE.
  98.  
  99. Regards,
  100. MarvinO
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement