starchyfort

Untitled

May 26th, 2018
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.28 KB | None | 0 0
  1. Pool Minting Eth. Address: 0x02C8832baf93380562b0C8ce18e2f709D6514c60
  2. From selected pool http://b.mike.rs:8586:
  3. Initial Challenge: 0xa5dd1d67287f6bffe2f3a78aa0ff70c7880a139a9df174dc476a530446805811
  4. Initial Mining Target: 0x20000000000000000000000000000000000000000000000000000000
  5. Initial Difficulty: 8192
  6.  
  7. theCudaDeviceIndex is 0, intensity is 23
  8. cuda_init(): found 0 CUDA devices. Initializing CUDA device with index # 1 ...
  9. Successfully got CUDA device # 1!
  10.  
  11. Initialized CUDA device 1 : GeForce GTX 970
  12. Available compute capability: 5.2
  13.  
  14. Gonna call HexToBytes and gStr_Challenge is 0xa5dd1d67287f6bffe2f3a78aa0ff70c7880a139a9df174dc476a530446805811
  15.  
  16. bytes_challenge:
  17. a5 dd 1d 67 28 7f 6b ff
  18. e2 f3 a7 8a a0 ff 70 c7
  19. 88 0a 13 9a 9d f1 74 dc
  20. 47 6a 53 04 46 80 58 11
  21.  
  22.  
  23. bytes_address:
  24. 02 c8 83 2b af 93 38 05
  25. 62 b0 c8 ce 18 e2 f7 09
  26. d6 51 4c 60
  27.  
  28.  
  29.  
  30. - assembling hash_prefix from bytes_challenge + bytes_address -
  31.  
  32. hash_prefix:
  33. a5 dd 1d 67 28 7f 6b ff
  34. e2 f3 a7 8a a0 ff 70 c7
  35. 88 0a 13 9a 9d f1 74 dc
  36. 47 6a 53 04 46 80 58 11
  37. 02 c8 83 2b af 93 38 05
  38. 62 b0 c8 ce 18 e2 f7 09
  39. d6 51 4c 60
  40. time(NULL) is: 1527363258.
  41. theSeed is: 46778
  42.  
  43. - filling bytes 60-63 of init_message[len:84] with randoms -
  44.  
  45. solution[32] at init-time:
  46. 01 00 00 00 00 00 00 00
  47. db 81 9b 1f 51 ef 26 3d
  48. f4 4c 7a 43 1d 62 c7 ee
  49. a3 7a c1 75 f1 23 50 6d
  50.  
  51.  
  52. init_message:
  53. a5 dd 1d 67 28 7f 6b ff
  54. e2 f3 a7 8a a0 ff 70 c7
  55. 88 0a 13 9a 9d f1 74 dc
  56. 47 6a 53 04 46 80 58 11
  57. 02 c8 83 2b af 93 38 05
  58. 62 b0 c8 ce 18 e2 f7 09
  59. d6 51 4c 60 01 00 00 00
  60. 00 00 00 00 db 81 9b 1f
  61. 51 ef 26 3d f4 4c 7a 43
  62. 1d 62 c7 ee a3 7a c1 75
  63. f1 23 50 6d
  64.  
  65.  
  66. Sending initial parameters to device. :)
  67. We're now in cuda_allocate_memory(), cuda-ways
  68.  
  69. Allocating device memory for d_mid (size 200 bytes) ...
  70. Allocating device memory for d_target (size 8 bytes ...
  71. Allocating device memory for d_solution (size 8 bytes) ...
  72. send_to_device(): gBig_MiningTarget is 3369993333393829974333376885877453834204643052817571560137951281152
  73. NOTE: gStr_MiningTarget is: 0x20000000000000000000000000000000000000000000000000000000 (check this for 0x prefix)
  74. send_to_device(): target_toDevice (64-bit) is 20000000
  75.  
  76. send_to_device: target is 20000000
  77. cudaSetDevice( 1 ) performed.
  78. Building the midstate ...
  79. Done. Midstate:
  80. 47 5b 5a 03 5b e2 c6 a8 7d c3 01 b0 1f ca 80 7f 12 67 f9 0f 2e d3 b5 6b e9 30 12 47 ea c5 13 5a b4 b7 51 d9 d7 57 aa 2e a9 fc 0d f8 87 c3 a7 69 44 2a e0 fc c6 54 4c b3 2a 65 a7 00 a3 e9 a8 37 f3 8a 03 60 3f 44 3b 75 d7 ae 49 9c e5 3f b8 4c 70 b4 78 ba 79 ff 17 cd e6 c7 2a 54 21 01 a0 aa 95 0e 23 71 a4 5e 3c a1 de 46 65 5f 5f a9 ba d0 b6 5e 89 1b 1e 91 cd 75 48 41 df 26 6a e5 a6 33 ba f6 a7 e5 05 68 f3 a8 87 6a a7 6e 5e 71 00 ec e0 32 5d bb 26 71 96 ff 52 2f 9e d0 4a 87 91 38 0c 9f 17 5e ac 43 6d ae a9 17 4f 68 a5 c3 48 1c af 54 5d 68 6f a3 b2 af c8 e6 3a 5b af c4 0d 8f 6a a7 6e 5e 71 00 ec 87 CUDA_Solve CPU thread starting.
  81.  
  82. ... omitted for space
  83. 370.49 MH/s -  60431532032 hashes -  time 02 m :43 s
  84. 370.59 MH/s -  60481863680 hashes -  time 02 m :43 s
  85. ... ommitted for space
  86.  
  87. * keccak returned TRUE with cnt: 60481863680, nonce: e15527766 ! *
  88.  
  89.  
  90.  
  91. ** find_message(): Possible Solution Found **
  92.  
  93.  
  94.  
  95. foo array from solution nonce:
  96. 00 00 e0 04 02 00 00 00
  97.  
  98.  
  99. Copying solution nonce into solution[32] starting at element 12...
  100. Setting gSolnFound to `true`. (TODO: sol'n queue)...
  101. find_message() returning 'true'.
  102. In CUDA_Solve(): find_message() call returned 'true'
  103. In CUDA_Solve(): *h_message is != UINT64_MAX :)
  104. Candidate Solution: e15527766
  105. CUDA_Solve CPU thread (ending).
  106. Solution detected in Networking code. :)
  107. *h_message (printed using possibly faulty method): e15527766
  108.  
  109.  
  110. solution (we're about to verify on CPU):
  111. 01 00 00 00 00 00 00 00
  112. db 81 9b 1f 00 00 e0 04
  113. 02 00 00 00 1d 62 c7 ee
  114. a3 7a c1 75 f1 23 50 6d
  115.  
  116.  
  117. Comm_VerifySolutionOnCPU():
  118. -str_solution = 0100000000000000db819b1f0000e004020000001d62c7eea37ac175f123506d
  119. -str_hash_prefix = a5dd1d67287f6bffe2f3a78aa0ff70c7880a139a9df174dc476a53044680581102c8832baf93380562b0c8ce18e2f709d6514c60
  120.  
  121. performing keccak256 on hashprefix+solution ...
  122. sph-keccak result is  21e17e4101a7cc8a0de5a697901a7ad97323e99f13c53cd339208306895e85c9
  123.  
  124. mining target is 3369993333393829974333376885877453834204643052817571560137951281152
  125. comms_pool.cpp: digest failed CPU verification. d'oh!
Advertisement
Add Comment
Please, Sign In to add comment