Bitcoin Forum
May 08, 2024, 03:40:53 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 105 »
  Print  
Author Topic: [ANN][MOTO] Motocoin  (Read 178167 times)
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 25, 2014, 08:17:36 PM
 #941

Maybe somebody interested, I uploaded my bot on github. https://github.com/minim1ner/motocoin-bot
Sorry for dirty-code Wink Dirty-fix for chain branching issue included.

It is what you name it "undeniable" one, but there is nothing special except using rand() in nonce selection.
It's seems that this bot will end it's life cycle pretty soon, but this is like first version I made and it could be easily improved to compete with current generation of bots.
1715139653
Hero Member
*
Offline Offline

Posts: 1715139653

View Profile Personal Message (Offline)

Ignore
1715139653
Reply with quote  #2

1715139653
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715139653
Hero Member
*
Offline Offline

Posts: 1715139653

View Profile Personal Message (Offline)

Ignore
1715139653
Reply with quote  #2

1715139653
Report to moderator
coelto
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
June 25, 2014, 09:06:07 PM
 #942

Can you compile for win 32, please?  Grin
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 25, 2014, 09:24:26 PM
 #943

Can you compile for win 32, please?  Grin

Ouch, it will take longer then I coded it, because of poor dependency management. I only have linux x64 for now Embarrassed
bignigga98
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 25, 2014, 10:15:02 PM
 #944

Can you compile for win 32, please?  Grin

Ouch, it will take longer then I coded it, because of poor dependency management. I only have linux x64 for now Embarrassed

unfuck yourself linuxoid
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 25, 2014, 10:50:19 PM
 #945

Maybe somebody interested, I uploaded my bot on github. https://github.com/minim1ner/motocoin-bot
Sorry for dirty-code Wink Dirty-fix for chain branching issue included.

Nice, but a little scary.  I still think we should not have had off-the-shelf bots readily available until after time warp is fixed.  I worry this may create much risk for the chain.

What "chain branching" issue are you referring to?

Quote
It is what you name it "undeniable" one, but there is nothing special except using rand() in nonce selection.

Your map filter is not exactly what I expected to see, but it is short and sweet.  I like it.  My map selection slows down map generation quite a bit, relatively speaking.  I might hybridize the two and see what happens.

Quote
It's seems that this bot will end it's life cycle pretty soon, but this is like first version I made and it could be easily improved to compete with current generation of bots.

Likely this sort of architecture and approach both will not last much longer, for various reasons.
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 25, 2014, 11:58:47 PM
 #946

Quote
Nice, but a little scary.
Yep, I noticed that project itself is little bit scary  Smiley

Quote
I still think we should not have had off-the-shelf bots readily available until after time warp is fixed.
well, now you have reason to fix it faster

Quote
I worry this may create much risk for the chain.
not that much

Quote
What "chain branching" issue are you referring to?
Well, all thous stales you complained about. I patched client so that requests current chain state from nodes every 10sec. But it is more like a temporary patch. I think there is couple of minor issues, which prevent normal message relaying&sync.

Quote
Your map filter is not exactly what I expected to see, but it is short and sweet.  I like it.  My map selection slows down map generation quite a bit, relatively speaking.  I might hybridize the two and see what happens.

It takes ~0.5sec in my solution.

Quote
Likely this sort of architecture and approach both will not last much longer, for various reasons.
Yes, it is more like quick and simple solution.

I am curious about your approach. Hope to see it in future
coelto
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
June 26, 2014, 12:36:28 AM
 #947

Can you upload ubuntu 64 bin? Thanks.
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 26, 2014, 02:03:29 AM
 #948

Quote
Nice, but a little scary.
Yep, I noticed that project itself is little bit scary  Smiley

Nothing ventured, nothing gained!

Quote
Quote
I still think we should not have had off-the-shelf bots readily available until after time warp is fixed.
well, now you have reason to fix it faster

HEH.  Touché.

Quote
Quote
I worry this may create much risk for the chain.
not that much

It depends.  If a lot of people start bot mining without doing naughty things then it will be actually good news.  If someone does a certain combination of naughty things before the network grows enough to make it too expensive, it might be game over for everyone!  Prisoners' Dilemma of sorts, with a lot at stake.

Quote
Quote
What "chain branching" issue are you referring to?
Well, all thous stales you complained about. I patched client so that requests current chain state from nodes every 10sec. But it is more like a temporary patch. I think there is couple of minor issues, which prevent normal message relaying&sync.

Yes, I would agree that this only hits one of the cases where stales tend to happen.  There are probably some issues there, but nothing too critical.

Quote
Quote
Your map filter is not exactly what I expected to see, but it is short and sweet.  I like it.  My map selection slows down map generation quite a bit, relatively speaking.  I might hybridize the two and see what happens.

It takes ~0.5sec in my solution.

It would be interesting to release just it as a patch to the reference client, for human miners. 

Quote
Quote
Likely this sort of architecture and approach both will not last much longer, for various reasons.
Yes, it is more like quick and simple solution.

I am curious about your approach. Hope to see it in future

Flipper works almost exactly like your bot, except it uses a slightly different map scoring to work on sets of maps and a very simple annealing selection for inputs.  TBH the annealing is not even really necessary, for now.
e1ghtSpace
Legendary
*
Offline Offline

Activity: 1526
Merit: 1001


Crypto since 2014


View Profile WWW
June 26, 2014, 06:58:50 AM
 #949

Quote
Quote
Your map filter is not exactly what I expected to see, but it is short and sweet.  I like it.  My map selection slows down map generation quite a bit, relatively speaking.  I might hybridize the two and see what happens.

It takes ~0.5sec in my solution.

It would be interesting to release just it as a patch to the reference client, for human miners. 

Yes please!! We all need this. It will probably even out human mining with bots for now.
BTW how do you compile it for Linux?
psychocoin
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 26, 2014, 09:22:43 AM
 #950

Nice, this turn of events should speed up development a bit Smiley

Win up to $200 every hour in BTC and DOGE! Trade MOTO, MIN, and other alts on C-CEX!
BTCat
Legendary
*
Offline Offline

Activity: 1960
Merit: 1010



View Profile
June 26, 2014, 10:25:29 AM
 #951

Nice, this turn of events should speed up development a bit Smiley

And make the price go to the moon. All below 0.0001 btc sure is a bargain.
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 26, 2014, 11:29:47 AM
 #952

Quote
BTW how do you compile it for Linux?
I used qtcreator, thus qmake. Mostly I followed guide here https://github.com/motocoin-dev/motocoin/blob/master/doc/build-unix.md, but because of newest ubuntu version, I've got couple of problems. Maybe original one is better, since it is up to date.

Quote
Yes please!! We all need this.
Devs with their "hot setup" for cross compile could do this in 5 minutes.
WilliamLie2 (OP)
Full Member
***
Offline Offline

Activity: 204
Merit: 100


View Profile
June 26, 2014, 12:11:01 PM
Last edit: June 26, 2014, 01:07:24 PM by WilliamLie2
 #953

This bot doesn't work for me nor on Linux nor on Windows. It stucks in some infinite loop or crashes.

EDIT: On Linux it crashes while on Windows it seems to work, although it still didn't mine me any single block.
EDIT2: I thought it was mining but it crashed after some time (Windows).
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 26, 2014, 01:18:58 PM
 #954

Is the block explorer down?  Will it be coming back?

Also, this getblocks spamming on the network might actually be a little problematic.  Since this behavior started up I'm actually seeing more stales, not less! XD
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 26, 2014, 01:31:05 PM
 #955

Also, this getblocks spamming on the network might actually be a little problematic.  Since this behavior started up I'm actually seeing more stales, not less! XD

Minim1ner can you adjust your patch so that it does not also do the getblocks spam during sync?  From looking at logs it looks like this might be what is creating the excess chatter on the network.
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 26, 2014, 02:44:32 PM
 #956

That feeling when you realize that you changed the wrong source file and have been mining an invalid chain on your live bots, instead of testnet, for over 12 hours....  Sad
gogomymoto
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
June 26, 2014, 03:31:14 PM
 #957

Is the block explorer down?  Will it be coming back?

Now it's working, looks like that were some issues with my scripts & vds memory limit.
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 26, 2014, 03:34:14 PM
 #958

Quote
Minim1ner can you adjust your patch so that it does not also do the getblocks spam during sync?  From looking at logs it looks like this might be what is creating the excess chatter on the network.
I'll take a look at it later. For now run it with
Code:
-maxconnections=3 -timeout=500
parameters.

Quote
EDIT: On Linux it crashes while on Windows it seems to work, although it still didn't mine me any single block.
I am getting ~10 blocks per hour with this bot. Can't tell anything about crashes, it seems pretty strange.
minim1ner
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
June 26, 2014, 03:50:35 PM
 #959

Quote
It would be interesting to release just it as a patch to the reference client, for human miners.
I'd better make a patch that prevents map brutforce, if devs agree with this idea, I could do it. With this patch map generation will take little more time, but it will be the first step to destroy bots.

Quote
unfuck yourself linuxoid
Grin
HunterMinerCrafter
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
June 26, 2014, 04:31:27 PM
 #960

Quote
It would be interesting to release just it as a patch to the reference client, for human miners.
I'd better make a patch that prevents map brutforce, if devs agree with this idea, I could do it. With this patch map generation will take little more time, but it will be the first step to destroy bots.

Quote
unfuck yourself linuxoid
Grin

My patch to fix the time warp will already do this as a side effect. (Remember from our pm?)
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 [48] 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 ... 105 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!