HunterMinerCrafter
|
|
July 01, 2014, 09:33:44 PM |
|
DOH, a third problem with my patch; it could truncate the mantissa of the target when it masks in the 14 TT value bits, and end up misrepresenting the target as 0. (In the compact representation.) This would have the nasty effect of terminating the chain. (No block could be mined with an intermediate map hash below 0.) We could either simply always set the low bit (15) in all cases, or we could set up a second bignum type which accounts for the missing 14 bits of precision.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 01, 2014, 09:59:50 PM |
|
I really don't understand how to start the bot( I can't compile it, because I don't know how.. And can't start the compiled version cause I have only 32bit Ubuntu..
Heeelp)
I don't think anyone else has 32 ubuntu. Maybe you should upgrade, if your computer supports 64 bit.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 01, 2014, 10:22:01 PM Last edit: July 01, 2014, 10:36:21 PM by e1ghtSpace |
|
Can someone please tell me how to compile the bot. I have the motocoin-qt compiled but I don't know how to compile the bot. I installed 2 Linuxs for this and I really don't want that to be a waste.
|
|
|
|
HunterMinerCrafter
|
|
July 02, 2014, 02:02:19 AM |
|
Can someone please tell me how to compile the bot. I have the motocoin-qt compiled but I don't know how to compile the bot. I installed 2 Linuxs for this and I really don't want that to be a waste.
You also need to compile motogame under src/game/ and put the resulting binary next to motocoin-qt. I use a different makefile for src/game/ and have not built his bot as is. I tried merging his patches into my bot code, and have mined for quite awhile with his patches but have never hit a block with it, so I'm guessing something went wrong in the merge.
|
|
|
|
coin loves
Newbie
Offline
Activity: 35
Merit: 0
|
|
July 02, 2014, 02:07:20 AM |
|
maybe it's a good idea
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 02, 2014, 03:21:46 AM Last edit: July 02, 2014, 10:04:07 PM by e1ghtSpace |
|
Can someone please tell me how to compile the bot. I have the motocoin-qt compiled but I don't know how to compile the bot. I installed 2 Linuxs for this and I really don't want that to be a waste.
You also need to compile motogame under src/game/ and put the resulting binary next to motocoin-qt. I use a different makefile for src/game/ and have not built his bot as is. I tried merging his patches into my bot code, and have mined for quite awhile with his patches but have never hit a block with it, so I'm guessing something went wrong in the merge. What command do I use in terminal? This? Edit: I used ./build-Linux.sh But I get errors.
|
|
|
|
HunterMinerCrafter
|
|
July 02, 2014, 04:24:56 AM |
|
What command do I use in terminal?
Try just `make` by itself. You might have to merge the patches into a clean copy of the motocoin source and build with the original, "stock" makefile. This isn't really the best venue for learning how to use build tools. If you're running into problems you should search around some linux support forums, read man pages, etc. and keep this thread for things specific to motocoin itself.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 02, 2014, 10:11:15 PM |
|
This version doesn't seem to sync very well. It skips between being synced and syncing with the network. {The last few pages}
Sorry for posting all of my errors everyone. I probably should have just PMed someone.
|
|
|
|
HunterMinerCrafter
|
|
July 02, 2014, 10:23:07 PM |
|
This version doesn't seem to sync very well. It skips between being synced and syncing with the network. This is probably related to m1ner's getblocks patch. Try removing it. {The last few pages}
Sorry for posting all of my errors everyone. I probably should have just PMed someone. You'll need a broad variety of skills to be successful as a miner... your fun is probably only just beginning. Plan to learn a lot.
|
|
|
|
HunterMinerCrafter
|
|
July 02, 2014, 10:32:24 PM |
|
I've updated the gist of my patch with the fixes for the issues I brought up earlier. This seems pretty stable, now.
|
|
|
|
minim1ner
Newbie
Offline
Activity: 20
Merit: 0
|
|
July 02, 2014, 10:56:36 PM |
|
This version doesn't seem to sync very well. It skips between being synced and syncing with the network.
It's Ok, that's means it is ready.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 03, 2014, 02:51:17 AM Last edit: July 03, 2014, 04:54:05 AM by e1ghtSpace |
|
Ok, somehow I managed to compile the bot. When I launch it, the screen is black and then it just disappears. Is that normal? Edit: That's... just great..... Using 2048x2048 texture for world map *** buffer overflow detected ***: /home/kyle/motocoin-bot/src/game/motogame terminated
Full code: Initializing GLEW... GLEW version: 1.10.0 GL venndor: ATI Technologies Inc. GL renderer: AMD Radeon R9 200 Series GL version: 4.4.12967 Compatibility Profile Context 14.20 GLSL version: 4.40 Loading texture ground... Loading texture sky... Loading texture grass... Loading texture motocykle... Loading texture coin... Loading texture font... ------------------------------------ Compiling OpenGL program... OpenGL vertex shader compilaton log: OpenGL fragment shader compilaton log: OpenGL program link status: 1 ------------------------------------ ------------------------------------ Compiling OpenGL program... OpenGL vertex shader compilaton log: OpenGL fragment shader compilaton log: OpenGL program link status: 1 ------------------------------------ ------------------------------------ Compiling OpenGL program... OpenGL vertex shader compilaton log: OpenGL fragment shader compilaton log: OpenGL program link status: 1 ------------------------------------ ------------------------------------ Compiling OpenGL program... OpenGL vertex shader compilaton log: OpenGL fragment shader compilaton log: OpenGL program link status: 1 ------------------------------------ ------------------------------------ Compiling OpenGL program... OpenGL vertex shader compilaton log: OpenGL fragment shader compilaton log: OpenGL program link status: 1 ------------------------------------ go 7 gen 1 n: 0 score: 8 nonce: 1815636299 score: 11 nonce: 1815636300 score: 14 nonce: 1815636302 score: 16 nonce: 1815636343 score: 18 nonce: 1815638134 score: 19 nonce: 1815699174 Using 2048x2048 texture for world map *** buffer overflow detected ***: /home/kyle/motocoin-bot/src/game/motogame terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x741cf)[0x7fef8ceee1cf] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7fef8cf85b2c] /lib/x86_64-linux-gnu/libc.so.6(+0x10a9f0)[0x7fef8cf849f0] /lib/x86_64-linux-gnu/libc.so.6(+0x109ef9)[0x7fef8cf83ef9] /lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xbc)[0x7fef8cef654c] /lib/x86_64-linux-gnu/libc.so.6(_IO_padn+0xa0)[0x7fef8ceea510] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xa8c)[0x7fef8cec4a2c] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7fef8cf83f84] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7fef8cf83edd] /home/kyle/motocoin-bot/src/game/motogame[0x40f169] /home/kyle/motocoin-bot/src/game/motogame[0x40625f] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fef8ce9bec5] /home/kyle/motocoin-bot/src/game/motogame[0x406c37] ======= Memory map: ======== 00400000-00436000 r-xp 00000000 08:12 8087 /home/kyle/motocoin-bot/src/game/motogame 00635000-00636000 r--p 00035000 08:12 8087 /home/kyle/motocoin-bot/src/game/motogame 00636000-00638000 rw-p 00036000 08:12 8087 /home/kyle/motocoin-bot/src/game/motogame 00638000-00715000 rw-p 00000000 00:00 0 00e9a000-020d1000 rw-p 00000000 00:00 0 [heap] 7fef76f3d000-7fef7af3d000 rw-s 36550000 00:05 10904 /dev/ati/card0 7fef8273e000-7fef8273f000 ---p 00000000 00:00 0 7fef8273f000-7fef82f3f000 rw-p 00000000 00:00 0 [stack:7826] 7fef84000000-7fef84021000 rw-p 00000000 00:00 0 7fef84021000-7fef88000000 ---p 00000000 00:00 0 7fef88048000-7fef88148000 rw-s 3654e000 00:05 10904 /dev/ati/card0 7fef88148000-7fef88229000 rw-p 00000000 00:00 0 7fef88229000-7fef8822a000 ---p 00000000 00:00 0 7fef8822a000-7fef88a2a000 rw-p 00000000 00:00 0 [stack:7825] 7fef88a2a000-7fef88a6a000 rw-s 00269000 00:05 10904 /dev/ati/card0 7fef88a6a000-7fef88afb000 rw-p 00000000 00:00 0 7fef88afb000-7fef891fb000 rw-s 00006000 00:05 10904 /dev/ati/card0 7fef891fb000-7fef892b5000 rw-p 00000000 00:00 0 7fef892b5000-7fef892b7000 r-xp 00000000 08:12 272360 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fef892b7000-7fef894b6000 ---p 00002000 08:12 272360 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fef894b6000-7fef894b7000 r--p 00001000 08:12 272360 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fef894b7000-7fef894b8000 rw-p 00002000 08:12 272360 /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 7fef894b8000-7fef89560000 r-xp 00000000 08:12 297254 /usr/lib/fglrx/libatiadlxx.so 7fef89560000-7fef8965f000 ---p 000a8000 08:12 297254 /usr/lib/fglrx/libatiadlxx.so 7fef8965f000-7fef89662000 rw-p 000a7000 08:12 297254 /usr/lib/fglrx/libatiadlxx.so 7fef89662000-7fef89672000 rw-p 00000000 00:00 0 7fef89672000-7fef89679000 r-xp 00000000 08:12 1049017 /lib/x86_64-linux-gnu/librt-2.19.so 7fef89679000-7fef89878000 ---p 00007000 08:12 1049017 /lib/x86_64-linux-gnu/librt-2.19.so 7fef89878000-7fef89879000 r--p 00006000 08:12 1049017 /lib/x86_64-linux-gnu/librt-2.19.so 7fef89879000-7fef8987a000 rw-p 00007000 08:12 1049017 /lib/x86_64-linux-gnu/librt-2.19.so 7fef8987a000-7fef8ba2f000 r-xp 00000000 08:12 297241 /usr/lib/fglrx/dri/fglrx_dri.so 7fef8ba2f000-7fef8bb2f000 ---p 021b5000 08:12 297241 /usr/lib/fglrx/dri/fglrx_dri.so 7fef8bb2f000-7fef8bce1000 rwxp 021b5000 08:12 297241 /usr/lib/fglrx/dri/fglrx_dri.so 7fef8bce1000-7fef8be21000 rwxp 00000000 00:00 0 7fef8be21000-7fef8be26000 r-xp 00000000 08:12 272352 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fef8be26000-7fef8c025000 ---p 00005000 08:12 272352 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fef8c025000-7fef8c026000 r--p 00004000 08:12 272352 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fef8c026000-7fef8c027000 rw-p 00005000 08:12 272352 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 7fef8c027000-7fef8c030000 r-xp 00000000 08:12 272344 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fef8c030000-7fef8c22f000 ---p 00009000 08:12 272344 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fef8c22f000-7fef8c230000 r--p 00008000 08:12 272344 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fef8c230000-7fef8c231000 rw-p 00009000 08:12 272344 /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 7fef8c231000-7fef8c236000 r-xp 00000000 08:12 272348 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fef8c236000-7fef8c435000 ---p 00005000 08:12 272348 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fef8c435000-7fef8c436000 r--p 00004000 08:12 272348 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fef8c436000-7fef8c437000 rw-p 00005000 08:12 272348 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0 7fef8c437000-7fef8c439000 r-xp 00000000 08:12 272337 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fef8c439000-7fef8c639000 ---p 00002000 08:12 272337 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fef8c639000-7fef8c63a000 r--p 00002000 08:12 272337 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fef8c63a000-7fef8c63b000 rw-p 00003000 08:12 272337 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 7fef8c63b000-7fef8c644000 r-xp 00000000 08:12 272372 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fef8c644000-7fef8c843000 ---p 00009000 08:12 272372 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fef8c843000-7fef8c844000 r--p 00008000 08:12 272372 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fef8c844000-7fef8c845000 rw-p 00009000 08:12 272372 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 7fef8c845000-7fef8c856000 r-xp 00000000 08:12 272350 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fef8c856000-7fef8ca55000 ---p 00011000 08:12 272350 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fef8ca55000-7fef8ca56000 r--p 00010000 08:12 272350 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fef8ca56000-7fef8ca57000 rw-p 00011000 08:12 272350 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 7fef8ca57000-7fef8ca5a000 r-xp 00000000 08:12 1048906 /lib/x86_64-linux-gnu/libdl-2.19.so 7fef8ca5a000-7fef8cc59000 ---p 00003000 08:12 1048906 /lib/x86_64-linux-gnu/libdl-2.19.so 7fef8cc59000-7fef8cc5a000 r--p 00002000 08:12 1048906 /lib/x86_64-linux-gnu/libdl-2.19.so 7fef8cc5a000-7fef8cc5b000 rw-p 00003000 08:12 1048906 /lib/x86_64-linux-gnu/libdl-2.19.so 7fef8cc5b000-7fef8cc78000 r-xp 00000000 08:12 273405 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fef8cc78000-7fef8ce78000 ---p 0001d000 08:12 273405 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fef8ce78000-7fef8ce79000 r--p 0001d000 08:12 273405 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fef8ce79000-7fef8ce7a000 rw-p 0001e000 08:12 273405 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 7fef8ce7a000-7fef8d036000 r-xp 00000000 08:12 1048889 /lib/x86_64-linux-gnu/libc-2.19.so 7fef8d036000-7fef8d235000 ---p 001bc000 08:12 1048889 /lib/x86_64-linux-gnu/libc-2.19.so 7fef8d235000-7fef8d239000 r--p 001bb000 08:12 1048889 /lib/x86_64-linux-gnu/libc-2.19.so 7fef8d239000-7fef8d23b000 rw-p 001bf000 08:12 1048889 /lib/x86_64-linux-gnu/libc-2.19.so 7fef8d23b000-7fef8d240000 rw-p 00000000 00:00 0 7fef8d240000-7fef8d256000 r-xp 00000000 08:12 1048916 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fef8d256000-7fef8d455000 ---p 00016000 08:12 1048916 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fef8d455000-7fef8d456000 rw-p 00015000 08:12 1048916 /lib/x86_64-linux-gnu/libgcc_s.so.1 7fef8d456000-7fef8d55b000 r-xp 00000000 08:12 1048939 /lib/x86_64-linux-gnu/libm-2.19.so 7fef8d55b000-7fef8d75a000 ---p 00105000 08:12 1048939 /lib/x86_64-linux-gnu/libm-2.19.so 7fef8d75a000-7fef8d75b000 r--p 00104000 08:12 1048939 /lib/x86_64-linux-gnu/libm-2.19.so 7fef8d75b000-7fef8d75c000 rw-p 00105000 08:12 1048939 /lib/x86_64-linux-gnu/libm-2.19.so 7fef8d75c000-7fef8d842000 r-xp 00000000 08:12 273243 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 7fef8d842000-7fef8da41000 ---p 000e6000 08:12 273243 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 7fef8da41000-7fef8da49000 r--p 000e5000 08:12 273243 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 7fef8da49000-7fef8da4b000 rw-p 000ed000 08:12 273243 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19 7fef8da4b000-7fef8da60000 rw-p 00000000 00:00 0 7fef8da60000-7fef8da79000 r-xp 00000000 08:12 1049009 /lib/x86_64-linux-gnu/libpthread-2.19.so 7fef8da79000-7fef8dc78000 ---p 00019000 08:12 1049009 /lib/x86_64-linux-gnu/libpthread-2.19.so 7fef8dc78000-7fef8dc79000 r--p 00018000 08:12 1049009 /lib/x86_64-linux-gnu/libpthread-2.19.so 7fef8dc79000-7fef8dc7a000 rw-p 00019000 08:12 1049009 /lib/x86_64-linux-gnu/libpthread-2.19.so 7fef8dc7a000-7fef8dc7e000 rw-p 00000000 00:00 0 7fef8dc7e000-7fef8dd1e000 r-xp 00000000 08:12 297263 /usr/lib/fglrx/libGL.so.1.2 7fef8dd1e000-7fef8de1e000 ---p 000a0000 08:12 297263 /usr/lib/fglrx/libGL.so.1.2 7fef8de1e000-7fef8de52000 rwxp 000a0000 08:12 297263 /usr/lib/fglrx/libGL.so.1.2 7fef8de52000-7fef8de6f000 rwxp 00000000 00:00 0 7fef8de6f000-7fef8e020000 r-xp 00000000 08:12 1052487 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fef8e020000-7fef8e21f000 ---p 001b1000 08:12 1052487 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fef8e21f000-7fef8e23a000 r--p 001b0000 08:12 1052487 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fef8e23a000-7fef8e245000 rw-p 001cb000 08:12 1052487 /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 7fef8e245000-7fef8e249000 rw-p 00000000 00:00 0 7fef8e249000-7fef8e258000 r-xp 00000000 08:12 272358 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fef8e258000-7fef8e457000 ---p 0000f000 08:12 272358 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fef8e457000-7fef8e458000 r--p 0000e000 08:12 272358 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fef8e458000-7fef8e459000 rw-p 0000f000 08:12 272358 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 7fef8e459000-7fef8e462000 r-xp 00000000 08:12 272370 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fef8e462000-7fef8e661000 ---p 00009000 08:12 272370 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fef8e661000-7fef8e662000 r--p 00008000 08:12 272370 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fef8e662000-7fef8e663000 rw-p 00009000 08:12 272370 /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 7fef8e663000-7fef8e667000 r-xp 00000000 08:12 272388 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fef8e667000-7fef8e867000 ---p 00004000 08:12 272388 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fef8e867000-7fef8e868000 r--p 00004000 08:12 272388 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fef8e868000-7fef8e869000 rw-p 00005000 08:12 272388 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 7fef8e869000-7fef8e999000 r-xp 00000000 08:12 272333 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7fef8e999000-7fef8eb99000 ---p 00130000 08:12 272333 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7fef8eb99000-7fef8eb9a000 r--p 00130000 08:12 272333 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7fef8eb9a000-7fef8eb9e000 rw-p 00131000 08:12 272333 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0 7fef8eb9e000-7fef8ec1f000 r-xp 00000000 08:12 272200 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0 7fef8ec1f000-7fef8ee1f000 ---p 00081000 08:12 272200 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0 7fef8ee1f000-7fef8ee25000 r--p 00081000 08:12 272200 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0 7fef8ee25000-7fef8ee26000 rw-p 00087000 08:12 272200 /usr/lib/x86_64-linux-gnu/libGLEW.so.1.10.0 7fef8ee26000-7fef8ee2a000 rw-p 00000000 00:00 0 7fef8ee2a000-7fef8ee4d000 r-xp 00000000 08:12 1048865 /lib/x86_64-linux-gnu/ld-2.19.so 7fef8ee51000-7fef8eebf000 rw-p 00000000 00:00 0 7fef8eebf000-7fef8eeff000 rw-s 00004000 00:05 10904 /dev/ati/card0 7fef8eeff000-7fef8ef05000 rw-p 00000000 00:00 0 7fef8ef05000-7fef8ef14000 r-xp 00000000 08:12 297280 /usr/lib/fglrx/libatiuki.so.1.0 7fef8ef14000-7fef8f014000 ---p 0000f000 08:12 297280 /usr/lib/fglrx/libatiuki.so.1.0 7fef8f014000-7fef8f022000 rw-p 0000f000 08:12 297280 /usr/lib/fglrx/libatiuki.so.1.0 7fef8f022000-7fef8f027000 rw-p 00000000 00:00 0 7fef8f043000-7fef8f046000 rw-p 00000000 00:00 0 7fef8f046000-7fef8f047000 rw-s 00005000 00:05 10904 /dev/ati/card0 7fef8f047000-7fef8f049000 rw-s 00002000 00:05 10904 /dev/ati/card0 7fef8f049000-7fef8f04c000 rw-p 00000000 00:00 0 7fef8f04c000-7fef8f04d000 r--p 00022000 08:12 1048865 /lib/x86_64-linux-gnu/ld-2.19.so 7fef8f04d000-7fef8f04e000 rw-p 00023000 08:12 1048865 /lib/x86_64-linux-gnu/ld-2.19.so 7fef8f04e000-7fef8f04f000 rw-p 00000000 00:00 0 7fff6875c000-7fff6877d000 rw-p 00000000 00:00 0 [stack] 7fff687fe000-7fff68800000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Press <RETURN> to close this window...
Edit 2: Loading texture motocykle...
Nice spelling So, to fix the buffer overflow, what type of variable do I need to change for which variable? (like double, int or float) Or do I need to do something else?
|
|
|
|
HunterMinerCrafter
|
|
July 03, 2014, 07:14:44 AM |
|
Ok, somehow I managed to compile the bot. When I launch it, the screen is black and then it just disappears. Is that normal?
Pretty much. Rendering anything would just slow hashing down. Arguably, even bothering to take the time to run the GL window events wastes cycles that could be spent searching maps or interpreting the physics interactions. So, to fix the buffer overflow, what type of variable do I need to change for which variable? (like double, int or float) Or do I need to do something else?
Again, these are topics that are outside the context of this thread. Let's keep the discussion on Motocoin itself, not how to generally compile/instrument/debug/recompile/run/profile/optimize software. There are plenty of other forums out there for learning such things. If you don't know, and/or can't figure out, how to do all of this stuff yourself then you'll need to have patience and wait for a more readily accessible ecosystem of tools to become available. Mining a brand new, very experimental coin (with an entirely new and different mining paradigm, no less) is not something you should expect to be able to "just pick up." Add to that the fact that your only tool is a crude and unpolished miner, that was really only released in a form intended to be illustrative for other developers, and you're looking at a pretty difficult endeavor if you're not prepared with an appropriate skill set. If you're not ready, willing, and able to maintain your own bot code (and I mean literally implementing/tweaking the AI algorithm(s) involved) you will have to accept that you will be perpetually "behind the power curve" and likely will not have much opportunity to be competitive.
|
|
|
|
WilliamLie2 (OP)
|
|
July 03, 2014, 03:22:48 PM |
|
e1ghtSpace, this bot has some bug, as I already said it doesn't work for me on win nor on linux. Maybe it worked for its creator by accident because of undefined behaviour.
HunterMinerCrafter, I looked at your patch, hard to say how good it is. As I understand it will not affect current bots because they generate 10 seconds replays in 40 seconds so there is no deficit, right?
|
|
|
|
HunterMinerCrafter
|
|
July 03, 2014, 04:38:12 PM |
|
e1ghtSpace, this bot has some bug, as I already said it doesn't work for me on win nor on linux. Maybe it worked for its creator by accident because of undefined behaviour.
I ran it "as is" for quite awhile and never hit a block. I also re-merged portions of it into my testnet bots, with some modification, and it did eventually find a block. I certainly wouldn't expect a non-developer to be able to make it productive. HunterMinerCrafter, I looked at your patch, hard to say how good it is.
Yes, I've been running experiments with it under a local testnet with (somewhat heavily) modified rules. The loss of precision in the compact representation is actually a little noticeable, so I may want to improve that. However, from a "securing the network from time warp type attacks" perspective it does seem to do the job. As I understand it will not affect current bots because they generate 10 seconds replays in 40 seconds so there is no deficit, right?
This is ostensibly correct. It is important to remember that the actual intent of this patch has nothing to do with "beating bots" and everything to do with securing the network so that it can scale safely. However, even without warp occuring there will be a very minor impact on the bots in two ways. First, once the extra target does kick in (setting the secondary target to the max 1-bit collision value) it will require a trivial minimum sha512 hashing (2-4 rounds of sha for each map) in any case, which will have a very slight impact on map iteration time, and thus hash rates. Second, it will create direct motivation for botters to not "naturally warp" the chain creating a deficit for the next round, so rational bot operators will likely modify their bots to not submit any blocks before they age to TT, which will also lower their efficiency. (I do not expect all bot operators to be entirely rational, however. Some will be aggressive/greedy with their bots, speculating on a higher future price, and will not ever block withhold even when given such incentive as less future work.) The network is in an "unexpected" state right now, where human mining margin has increased on its own, but overall coin production is lower. I suspect that this is a sort of natural correction phase, possibly related to the recent market activities, and possibly created out of a side effect of the established bot miners preparing for the impending competition. The miners (and market speculators as well?) are probably still feeling out how to best handle this new mining scenario. (There are really a lot more chain factors to consider than with most any other alt, including HUC!) I've run some tests on overall impedance to bots. In an experiment today I gave half of the network the ability to "instantly" generate a bike solution once the work deficit challenge rounds were paid, and had the other half of the network playing solutions constrained to "human speed." So, basically, this simulated what would happen under the circumstance where the bike challenge was "fully broken" with some ideal solver. In the worst case, the subsidy collected by "humans" was about 22% compared to without the patch in the same scenario where it became virtually impossible for a human to ever grab a coin at all. (Even if one did somehow the bot side could have ofc just arbitrarily forked their coin base out of existence, since they could instantly rewrite the chain via warp without the patch in place, heh.) Also it has occurred to me today that if we ignore my earlier Median fix patch for now, we can launch the secondary target patch without requiring a hard fork on the network itself! Old clients will run into issues with the game/replays and will need to be updated to human mine with, so we may want to consider a version increment in the headers to prompt user updates, but otherwise as long as the majority hashing strength switches over within the same round we should not need to hard-code a fork point, I think!
|
|
|
|
tobeaj2mer01
Legendary
Offline
Activity: 1098
Merit: 1000
Angel investor.
|
|
July 04, 2014, 07:13:04 AM |
|
Looks interesting.
|
Sirx: SQyHJdSRPk5WyvQ5rJpwDUHrLVSvK2ffFa
|
|
|
BTCat
Legendary
Offline
Activity: 1960
Merit: 1010
|
|
July 04, 2014, 07:48:44 AM |
|
Still cheap on C-Cex!
|
|
|
|
psychocoin
|
|
July 05, 2014, 01:30:16 AM |
|
The buy side doesn't look too optimistic eh.
|
|
|
|
e1ghtSpace
Legendary
Offline
Activity: 1526
Merit: 1001
Crypto since 2014
|
|
July 05, 2014, 05:06:15 AM |
|
The buy side doesn't look too optimistic eh.
You can say that again.
|
|
|
|
psychocoin
|
|
July 05, 2014, 10:48:01 AM |
|
So, how's the patch coming along?
|
|
|
|
|