Advertisement
Guest User

Untitled

a guest
Mar 25th, 2014
1,629
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.15 KB | None | 0 0
  1. [20:32] → Linkandzelda joined the channel.
  2. [20:32] Mode is +ns
  3. [20:35] <Soepkip> Either he's gonna join us quick or we'll have to wait for ~8 hours
  4. [20:38] <Linkandzelda> cool
  5. [20:39] <Soepkip> could it be those 25k coins where sent before the fork?
  6. [20:40] <Linkandzelda> well even if that happened, it means the integrity broke aomewhere
  7. [20:40] <Linkandzelda> but we keep a close eye on missing money if it ever happens, and BC was fine
  8. [20:41] <Soepkip> yeah
  9. [21:15] <Linkandzelda> Soepkip about?
  10. [21:15] <Linkandzelda> ive finished the report
  11. [21:15] <Linkandzelda> the daemon created/fabricated balances
  12. [21:15] <Linkandzelda> 22,052,756.46576266 is the reported missing amount. this was not a problem before the update as I said our total balance was just over 1 mil
  13. [21:16] <Linkandzelda> we had BC unupdated for a good 8 hours, at the point of take down it was just over 1 mil
  14. [21:21] <Soepkip> hmm
  15. [21:22] <Soepkip> well you'll have to wait for rat4
  16. [21:22] <Soepkip> i checked up with other exchanges if they had problems and they seem not to have any so far.
  17. [21:22] <Soepkip> but could be their wallet implementation is different from yours
  18. [21:23] <Linkandzelda> yea we have a unique wallet implementation
  19. [21:23] <Linkandzelda> which shouldnt change anything, though
  20. [21:33] • Soepkip is now known as SoepkipAFK.
  21. [22:00] → Linkandzelda joined the channel.
  22. [22:02] → Linkandzelda joined the channel.
  23. [22:02] Mode is +ns
  24. [02:05] • SoepkipAFK is now known as Soepkip.
  25. [03:30] → rat4 joined the channel.
  26. [03:40] <Soepkip> hey Linkandzelda
  27. [03:41] <Linkandzelda> hey
  28. [03:41] <Linkandzelda> whats up Soepkip, rat4
  29. [03:42] <Soepkip> he's awaken from his sleep mode
  30. [03:42] <rat4> hi
  31. [03:42] <Linkandzelda> heya
  32. [03:42] <Soepkip> i filled rat4 in with the details
  33. [03:42] <Linkandzelda> sorry to bother you :)
  34. [03:42] <Soepkip> so far as i had them
  35. [03:43] <Linkandzelda> so let me explain best I can what happened to refresh the details
  36. [03:43] <Linkandzelda> I built my exchange to work around the daemon's account feature for managing user trades and balances/deposits/withdraws
  37. [03:44] <Linkandzelda> so every user on site has thier own daemon account with addresses and balance tied to it
  38. [03:44] <Linkandzelda> this worked fine for BC up until the latest upgrade
  39. [03:45] <Linkandzelda> which basically, I dont knpow how, but it gave users too many coins (too many being an extra 21 million in total)
  40. [03:45] <Linkandzelda> we only had just over 1 mil on site before the upgrade
  41. [03:46] <Linkandzelda> so we re-launched BC after the upgrade, then noticed 30 mins later all our coins were gone :(
  42. [03:47] <Linkandzelda> we have 53 BC lft on site, and I know I had 2k of my own coins on site, so users have withdrawn coins they didnt have
  43. [03:47] <Linkandzelda> same situation as Zeitcoin
  44. [03:48] <Linkandzelda> at this present moment our balance integrity for BC is broken, we cant resume trading without major damage
  45. [03:50] <Linkandzelda> oh and of course, we found out 30 mins too late these details after re-launching it
  46. [03:50] <Linkandzelda> anything you guys can do to help?
  47. [03:50] <rat4> I'm surprised that someone uses accounts of daemon
  48. [03:51] <Linkandzelda> yea I regret it now but thats how I decided to make the system... next version will not opperate that way for sure. so much trouble caused
  49. [03:51] <rat4> do getbalance and getbalance "*" return the same?
  50. [03:51] <Linkandzelda> let me find out, one sec
  51. [03:53] <Linkandzelda> yes identical values
  52. [03:59] <rat4> try checkwallet it can find some coins if you played with wallet.dat
  53. [04:00] <rat4> maybe some coins currenlty in stake, see stake in getinfo
  54. [04:01] ← Soepkip left IRC. (Quit: Lingo - http://www.lingoirc.com)
  55. [04:02] → Soepkip|MB joined the channel.
  56. [04:03] • Soepkip|MB is now known as Soepkip.
  57. [04:19] • Soepkip is now known as soepkipafk.
  58. [04:20] <Linkandzelda> rat4 let me take a look
  59. [04:21] <Linkandzelda> rat4: stake is 0
  60. [04:23] <rat4> what says checkwallet ?
  61. [04:25] <Linkandzelda> true
  62. [04:26] <Linkandzelda> "wallet check passed" : true
  63. [04:32] <rat4> just in case you can dumpwallet, stop daemon, move wallet.dat to another place, start daemon and importwallet
  64. [04:32] <rat4> but it's unlikely that it can find something
  65. [04:33] <Linkandzelda> hmm
  66. [05:51] <Linkandzelda> hey rat4 still there?
  67. [05:51] <Linkandzelda> I think I figured it out
  68. [05:56] <rat4> yes
  69. [06:07] <Linkandzelda> stakecoins balance account bug
  70. [06:58] <Linkandzelda> rat4 heres the full report on the situation
  71. [06:58] <Linkandzelda> Total withdrawn: 20,381,892.41143484
  72. [06:58] <Linkandzelda> Total deposited: 20,448,517.07003221
  73. [06:58] <Linkandzelda> Total stake generated: 1,640.08575003
  74. [06:58] <Linkandzelda> Supposed current site balance: 66,624.65859738
  75. [06:58] <Linkandzelda> Consolidated reported current site balance (user daemon accounts): 22,052,756.46576266
  76. [06:58] <Linkandzelda> Actual daemon balance: 68,025.87273473
  77. [06:59] <Linkandzelda> can you see the issue there?
  78. [06:59] <Linkandzelda> an extra 22 million that appeared right out of nowhere
  79. [06:59] <Linkandzelda> our actual balance is correct based on whats been put into the site and out again
  80. [07:10] <rat4> looks like the bug is that sending part of stake transaction is subtracted from "" account and receiving part is added to real account
  81. [07:11] <rat4> if that's the case getbalance "" should return -22M
  82. [07:20] <Linkandzelda> rat4 let me try that and see
  83. [07:21] <Linkandzelda> yep
  84. [07:21] <Linkandzelda> ./blackcoind getbalance ""
  85. [07:21] <Linkandzelda> -22052702.65300247
  86. [07:23] <Linkandzelda> ./blackcoind listtransactions ""
  87. [07:23] <Linkandzelda> [
  88. [07:23] <Linkandzelda> ]
  89. [07:23] <Linkandzelda> so its definitly a bug
  90. [07:23] <Linkandzelda> how can we solve this? ive lost a lot of BTC becuase of this, + BC trading needs to be totally reset on site to prevent damage
  91. [07:24] <Linkandzelda> havent lost yet but, yea, we're talking a lot of BC thats gone
  92. [07:26] <Linkandzelda> ive got users litterally hammer me claiming that I stole this money :(
  93. [07:27] <rat4> the problem is that 60k is your real balance if you processed withdrawals
  94. [07:28] <Linkandzelda> yes
  95. [07:28] <Linkandzelda> we processed withdrawals becuase of this extra 22 million
  96. [07:28] <Linkandzelda> people withdrew coins they didnt have
  97. [07:28] <Linkandzelda> which lowered down the overall balance
  98. [07:29] <Linkandzelda> theres also no way of knowing users actual balances
  99. [07:31] <rat4> which version you used before?
  100. [07:31] <Linkandzelda> the previous version to the one we have now
  101. [07:31] <Linkandzelda> how many upgrades has thier been since launch of the coin?
  102. [07:32] <Linkandzelda> we've upgraded to each one of them when they became available
  103. [07:33] <rat4> 1.0.0 1.0.1 1.0.2 1.0.3 and now 1.0.5
  104. [07:34] <Linkandzelda> i see
  105. [07:34] <Linkandzelda> im bringing in some more members of the team
  106. [07:34] → se[c] joined the channel.
  107. [07:36] <Linkandzelda> rat4: what were the changelogs for each of those versions, any of them to do with something that could cause this bug?
  108. [07:39] → Devianttwo joined the channel.
  109. [07:40] → Calcx joined the channel.
  110. [07:40] <se[c]> hi
  111. [07:40] <rat4> hi
  112. [07:41] <se[c]> so what's the deal with this bug? have you isolated it?
  113. [07:41] <rat4> sort of
  114. [07:41] <rat4> so you were on 1.0.1 or 1.0.2?
  115. [07:44] <se[c]> Linkandzelda: ?
  116. [07:45] <Linkandzelda> need to find out when we compiled it
  117. [07:45] <Linkandzelda> Devianttwo would know that better than me
  118. [07:45] <Linkandzelda> as well as upgrades
  119. [07:46] <Devianttwo> Uhh sec.
  120. [07:46] <Devianttwo> [US.HSG 1]::[Mar 25 02:46:25]:~/blackcoin >> git pull
  121. [07:46] <Devianttwo> Already up-to-date.
  122. [07:47] <Linkandzelda> we iniitally compiled on the 27th feb
  123. [07:47] <Linkandzelda> not sure which version was out then
  124. [07:48] <Linkandzelda> heres the tweet https://twitter.com/TheCryptoRush/status/438846475460550656
  125. [07:55] <rat4> i've applied only mandatory changes on top of your prev version, try branch 1.0.2
  126. [07:56] <Linkandzelda> wont downgrading break it or not work due to the fork?
  127. [07:58] <rat4> do backup and try, it should work
  128. [07:59] <Linkandzelda> Devianttwo... its 4 am for you, how to do it? lol
  129. [07:59] <Linkandzelda> its 8am here
  130. [07:59] <Devianttwo> Ugg.. I don't have the old version..
  131. [07:59] <Devianttwo> Id have to redownload it.
  132. [08:00] <rat4> i mean do git pull; git checkout 1.0.2
  133. [08:04] <Devianttwo> [US.HSG 1]::[Mar 25 03:02:22]:~/blackcoin >> git checkout master
  134. [08:04] <Devianttwo> Switched to branch 'master'
  135. [08:04] <Devianttwo> [US.HSG 1]::[Mar 25 03:03:46]:~/blackcoin >> git pull
  136. [08:04] <Devianttwo> Already up-to-date.
  137. [08:04] <Devianttwo> [US.HSG 1]::[Mar 25 03:03:47]:~/blackcoin >> git checkout 1.0.2
  138. [08:04] <Devianttwo> Switched to branch '1.0.2'
  139. [08:04] <Devianttwo> [US.HSG 1]::[Mar 25 03:03:51]:~/blackcoin >> git pull
  140. [08:04] <Devianttwo> Already up-to-date.
  141. [08:04] <Devianttwo> ...
  142. [08:05] <rat4> yes try this version
  143. [08:05] <Devianttwo> Its the same version
  144. [08:05] <Devianttwo> as it says
  145. [08:05] <Devianttwo> its already up to date.
  146. [08:05] <Devianttwo> aka nothing changed.
  147. [08:06] <rat4> compile it and try
  148. [08:06] <Devianttwo> but... no files changed...
  149. [08:07] <Devianttwo> it didn't download anything....
  150. [08:08] <Devianttwo> very odd. I can clearly see it should be out of date. and needs to update
  151. [08:08] <Devianttwo> but it won.t
  152. [08:08] <Linkandzelda> try a new folder
  153. [08:08] <rat4> it's ok
  154. [08:08] <Linkandzelda> fresh download fresh pull
  155. [08:09] <Devianttwo> you know I was gonna go to bed.
  156. [08:09] <Devianttwo> lol
  157. [08:18] <Devianttwo> daemoncoin@Cryptorush-Daemons-13:~$ ./blackcoind getbalance ''
  158. [08:18] <Devianttwo> error: {"code":-2,"message":"Safe mode: URGENT: upgrade required"}
  159. [08:19] <Devianttwo> yeah
  160. [08:19] <Devianttwo> not gonna work like that now is it
  161. [08:20] <Devianttwo> so now what rat4..
  162. [08:20] <Devianttwo> I can't even get anyones balance now.
  163. [08:21] <rat4> one moment
  164. [08:22] <Devianttwo> I don't have much longer.. its 4:21 am and I need sleep.
  165. [08:22] <rat4> pull again now it should work :-)
  166. [08:23] <Devianttwo> and now to wait 2 hours for a compile again :/
  167. [08:27] • Devianttwo is now known as Devianttwo|AFK.
  168. [08:32] <Devianttwo|AFK> Well
  169. [08:33] <Devianttwo|AFK> now the balance is showing correct except we have one major problem
  170. [08:33] <Devianttwo|AFK> we are missing about 22 million coins. from people cashing out what they didn't have.
  171. [08:33] <Devianttwo|AFK> let me just verify
  172. [08:33] <Devianttwo|AFK> I don't see how thats possible
  173. [08:35] <Devianttwo|AFK> never mind thats wrong. just hold on.
  174. [08:35] <Devianttwo|AFK> let me get the data.
  175. [08:37] <Devianttwo|AFK> -1554503.10052230 thats how much was stolen
  176. [08:37] <Devianttwo|AFK> 1621127.49692041
  177. [08:37] <Devianttwo|AFK> thats how much we should have.
  178. [08:37] <Devianttwo|AFK> and we only have 62k
  179. [08:39] <Devianttwo|AFK> rat4.
  180. [08:39] <Devianttwo|AFK> I can now also confirm
  181. [08:39] <Devianttwo|AFK> the missing 1.5m blackcoins
  182. [08:39] <Devianttwo|AFK> where withdrawn right after we updated our client
  183. [08:39] <Devianttwo|AFK> the moment we went live people started withdrawing what they didn't have.
  184. [08:40] <Devianttwo|AFK> and I have no clue how that happened.
  185. [08:41] <Devianttwo|AFK> Update: 1.8 million coins where withdrawn from the moment we went live again
  186. [08:41] <Devianttwo|AFK> 1.55 million of which was stolen from the wallet due to that wierd balance glitch
  187. [08:42] <Devianttwo|AFK> literally if I change wallets the balance breaks instantly
  188. [08:43] <Devianttwo|AFK> rat4 are you there?
  189. [08:45] ← rat4 left IRC. (Ping timeout: 268 seconds)
  190. [08:46] → rat4 joined the channel.
  191. [08:46] <Devianttwo|AFK> wb rat
  192. [08:46] <Devianttwo|AFK> did you get our messages?
  193. [08:46] <rat4> last msg Devianttwo|AFK: and I have no clue how that happened
  194. [08:46] <Devianttwo|AFK> [4:37am] <Devianttwo|AFK> -1554503.10052230 thats how much was stolen
  195. [08:46] <Devianttwo|AFK> [4:37am] <Devianttwo|AFK> 1621127.49692041
  196. [08:46] <Devianttwo|AFK> [4:37am] <Devianttwo|AFK> thats how much we should have.
  197. [08:46] <Devianttwo|AFK> [4:37am] <Devianttwo|AFK> and we only have 62k
  198. [08:46] <Devianttwo|AFK> Our negatives balance is -1,554,503.10052230 BC
  199. [08:46] <Devianttwo|AFK> our possitives are 1,621,127.49692041 BC
  200. [08:47] <Devianttwo|AFK> Our daemon balance is 68k
  201. [08:47] <Devianttwo|AFK> we had 1.8 million BC withdrawn from the moment that we reopened the site.
  202. [08:47] <Devianttwo|AFK> and almost every single withdrawal
  203. [08:47] <Devianttwo|AFK> is from an account that is now negative.
  204. [08:47] <Devianttwo|AFK> which means the daemon balances where dispalying incorrectly in order for that to happen. I also confirmed that account '' says it should have 22million coins in it now
  205. [08:47] <Devianttwo|AFK> rather then -22million
  206. [08:48] <Devianttwo|AFK> like it did originally
  207. [08:48] <Devianttwo|AFK> even though theres no 22 million BC's on our site.
  208. [08:48] <Devianttwo|AFK> so what do we do from here? how we gonna go about fixing this issue.
  209. [08:50] <rat4> i see these numbers, what do you expect from me?
  210. [08:51] <Devianttwo|AFK> Not sure. all I'm saying is we used your code. and now we are missing 1.5 million BC's
  211. [08:51] <Devianttwo|AFK> so........
  212. [08:51] <Devianttwo|AFK> Basically we are back to the Zeit situation.
  213. [08:51] <Devianttwo|AFK> all over again.
  214. [08:51] <Devianttwo|AFK> this is over 100 btc worth of currency.
  215. [08:51] <Devianttwo|AFK> theres no possible way we can take responsibility for that happening.
  216. [08:51] <Devianttwo|AFK> and apparently someone said another site had the same issue.
  217. [08:52] <Devianttwo|AFK> http://blackcoinpool.com/ apparently bugged out as well.
  218. [08:53] <Devianttwo|AFK> anyways. I'm gonna have you and link talk this out and find out what we need to do about this. cause this is rediculous honestly. Everytime we patch lately someone shoots the daemon code and breaks it. No Offense but its just getting old now. First Teslacoin. then battlecoin. then Zeitcoin. now yall.
  219. [08:54] <Devianttwo|AFK> I'm heading to bed. yall please get this solved.
  220. [08:58] <Linkandzelda> yes rat4 please offer up as much compensation as possible, this could ruin us
  221. [09:09] → fyrstikken joined the channel.
  222. [09:10] <rat4> I don't have anything comparable with this, so far I got less than 40k from donations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement