Bitcoin Forum
July 06, 2022, 01:16:24 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 »
  Print  
Author Topic: [XPM] [ANN] Primecoin High Performance | HP14 released!  (Read 397536 times)
DUMmy97531
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
August 10, 2013, 01:43:04 PM
 #1701

Hi

This is for mikaelh or anybody that can provide a decent answer..

I am trying to understand the current mining algorithm used in the miner, but, since I am a noob when it comes to C programming, I have a hard time understanding it.

mikaelh  ... did you use your own algorithm and, if so, can you please describe it or is there an article on the web available? I have searched for algorithms but found none yet that corresponds to yours. I am trying to learn C programming and thought "what the heck, might as well start here since I am interested in XRP's.

Any help would be highly appreciated........
Hi Dummy, learning c programming and being able to understand the extremely complex math behind the prime coin miner are two separate topics. I would class myself as an accomplished programmer (it's been my day job for 15 years) but I don't understand the xpm algorithm despite reading a lot about it. If your goal is to learn c, I would start with that by looking at some tutorials.

I think you are all misunderstanding me. I AM trying to learn C better. I have done the tutorials and small code. STUPID "HELLOW WORLD". etc. Why spend your time on trivial programs if you can spoend it on more worthwhile things?

The point here is ,,,, because I am a noob C programmer I find it difficult to follow the code and determine the algorthim, I am not REALLY trying to learn C, but trying to understand the algorithm so that I might, if lucky, be able to improve on it. I have searched for algorithms, especially the sieving but the multiplication factor for the sieve throws me out, The rest is basically understandable.

Gee, why do you all misread and misunderstood my request? Because it was easy to hammer on the "Learning C" part and you were all incapable to answer on the "algorithm " part?



1657070184
Hero Member
*
Offline Offline

Posts: 1657070184

View Profile Personal Message (Offline)

Ignore
1657070184
Reply with quote  #2

1657070184
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1657070184
Hero Member
*
Offline Offline

Posts: 1657070184

View Profile Personal Message (Offline)

Ignore
1657070184
Reply with quote  #2

1657070184
Report to moderator
1657070184
Hero Member
*
Offline Offline

Posts: 1657070184

View Profile Personal Message (Offline)

Ignore
1657070184
Reply with quote  #2

1657070184
Report to moderator
bcp19
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500



View Profile
August 10, 2013, 02:27:40 PM
 #1702

Hi

This is for mikaelh or anybody that can provide a decent answer..

I am trying to understand the current mining algorithm used in the miner, but, since I am a noob when it comes to C programming, I have a hard time understanding it.

mikaelh  ... did you use your own algorithm and, if so, can you please describe it or is there an article on the web available? I have searched for algorithms but found none yet that corresponds to yours. I am trying to learn C programming and thought "what the heck, might as well start here since I am interested in XRP's.

Any help would be highly appreciated........
Hi Dummy, learning c programming and being able to understand the extremely complex math behind the prime coin miner are two separate topics. I would class myself as an accomplished programmer (it's been my day job for 15 years) but I don't understand the xpm algorithm despite reading a lot about it. If your goal is to learn c, I would start with that by looking at some tutorials.

I think you are all misunderstanding me. I AM trying to learn C better. I have done the tutorials and small code. STUPID "HELLOW WORLD". etc. Why spend your time on trivial programs if you can spoend it on more worthwhile things?

The point here is ,,,, because I am a noob C programmer I find it difficult to follow the code and determine the algorthim, I am not REALLY trying to learn C, but trying to understand the algorithm so that I might, if lucky, be able to improve on it. I have searched for algorithms, especially the sieving but the multiplication factor for the sieve throws me out, The rest is basically understandable.

Gee, why do you all misread and misunderstood my request? Because it was easy to hammer on the "Learning C" part and you were all incapable to answer on the "algorithm " part?
Understanding the algorithm takes a decent understanding of the mathematics involved.  If you don't have a solid enough background you won't be able to understand the explanation.  Given my background and my overall understanding of the math involved here, I'd say a fair number of people with Bachelor's degrees in Mathematics would struggle with this algorithm.  Since the code is already written, an accomplished programmer could make tweaks to certain parts of the code to make it run faster, but I doubt many of them truly understand it fully. 

I do not suffer fools gladly... "Captain!  We're surrounded!"
I embrace my inner Kool-Aid.
Dumbo
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
August 10, 2013, 04:32:27 PM
 #1703

Okay I have been running  Digital Ocean droplets ( cloned 3 times..for a total of 4).

and this is my stat:

Code:

Stats: {
    "blocks" : 109854,
    "chainspermin" : 2,
    "chainsperday" : 0.06633148,
    "currentblocksize" : 21366,
    "currentblocktx" : 1,
    "difficulty" : 9.68092436,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "roundsievepercentage" : 30,
    "primespersec" : 495,
    "pooledtx" : 1,
    "sievepercentage" : 10,
    "sievesize" : 1000000,
    "testnet" : false
}


I set it up using gigawatt's instructions I found here ..https://bitcointalk.org/index.php?topic=261179.0

4 nodes have been running for 3 days and I found nothing! Is that normal?

Code:
Confirmed Balance:  0.00000000
Immature Balance:
Immature TX: 0
Connections: 8

And why is my chainsperday so low? I read it somewhere in this thread that chainsperday is a more accurate measurement than primespersecond.

I have updated the primecoin miner ( which I am assuming updates to hp9) using his script -> http://pastebin.com/T19PrHcf

 ./stop-primecoind to stop the primecoind process
 ./build-primecoin to update and rebuild primecoind
 ./start-primecoind to start your primecoind process again


and also restarted the haveged service using

Code:
service haveged restart

Anything stupid I am doing? (very much possible) if not what do I do to make this get anything! Also ....I saw people  telling about running 50 VPS on digital ocean. I thought, you could only run 5 nodes on one account - or are you guys using something else?

Edit:

I have one Linode node running as well..and my stats are ..

Code:

Stats: {
    "blocks" : 109882,
    "chainspermin" : 3,
    "chainsperday" : 0.28633614,
    "currentblocksize" : 1000,
    "currentblocktx" : 0,
    "difficulty" : 9.68146938,
    "errors" : "",
    "generate" : true,
    "genproclimit" : -1,
    "roundsievepercentage" : 30,
    "primespersec" : 2067,
    "pooledtx" : 0,
    "sievepercentage" : 10,
    "sievesize" : 1000000,
    "testnet" : false
}


I have not got anything there either for 2 days Sad
Dumbo
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
August 10, 2013, 05:32:56 PM
 #1704

lol ...that's not encouraging  Tongue . I want to see how mined block looks like!  Sad
Tamis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 10, 2013, 07:21:09 PM
 #1705

dumbo, read the thread.
Dumbo
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
August 10, 2013, 07:39:34 PM
Last edit: August 10, 2013, 09:21:23 PM by Dumbo
 #1706

I did! that's how I knew about haveged  fixing entropy and how pps is not a good measurement..but obviously I have missed something. Everyone in the thread seems to have better performance than me using the hp9 Sad

I guess I will reread carefully!

Edit: Hehe, I read only the lucky ones before....missed the unlucky guys like me. I guess it was wishful thinking (subconsciously blocked out all the whining and focused on only the positive)  ...I am glad I am not the only one who has nothing! Misery loves company ......
SlyWax
Sr. Member
****
Offline Offline

Activity: 248
Merit: 251



View Profile
August 10, 2013, 09:58:21 PM
 #1707

If you want to get an estimation of your block/day :
Take one minus the decimal part of the difficulty and multiply it with your chain/day.

block/day = (1 - dec(difficulty) ) * chainsperday

From your example :
    "chainsperday" : 0.28633614,
    "difficulty" : 9.68146938,
block/day = (1 - 0.68146938) * 0.28633614 = 0,091206828 = around one block every 11 days !
Dumbo
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
August 10, 2013, 10:06:54 PM
 #1708

Ah thanks! solo VPS mining seems looks bleak to me ..unless you own 500 servers running like some dude in this thread...
Tamis
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250



View Profile
August 10, 2013, 11:03:53 PM
 #1709

Ah thanks! solo VPS mining seems looks bleak to me ..unless you own 500 servers running like some dude in this thread...

I'm not sure he really has those 500 servers.... but who knows (or care).
Dumbo
Member
**
Offline Offline

Activity: 114
Merit: 10


View Profile
August 10, 2013, 11:12:56 PM
 #1710

Well, I somewhat do care, not because he has it (or can have it). But because it puts a price on 51% attack on Primecoin (which isn't THAT much) . If he can get to 8-10% by himself. Someone with malicious intent (not him) might be able to pull it off.

Or if someone like him puts everything  on ypool ...that's adding another 10% to already existing 20% ..and that's getting a little too close for comfort. But eh...bitcoin survived all that, Litecoin did ....I am sure this will too Smiley
jubalix
Legendary
*
Offline Offline

Activity: 2436
Merit: 1019


View Profile WWW
August 11, 2013, 12:00:58 AM
 #1711

so is xpm being pool mined/bot mined now

no solo's anymore ?

Admitted Practicing Lawyer::BTC/Crypto Specialist. B.Engineering/B.Laws

https://www.binance.com/?ref=10062065
reb0rn21
Legendary
*
Offline Offline

Activity: 1876
Merit: 1024


View Profile
August 11, 2013, 01:11:53 AM
 #1712

so is xpm being pool mined/bot mined now

no solo's anymore ?

solo works just fine, you just need to wait few days for a block, nothing wrong in that

              ▄▄▄ ▀▀▀▀▀▀▀▀▀ ▄▄▄
           ▄▀▀    ▄▄▄▄▄▄▄▄▄    ▀▀▄
        ▄▀▀  ▄▄▀█          ▀█▀▄▄  ▀▀▄
      ▄▀▀ ▄▄▀    ▀▀▄▄▄▄▄▄▄▀▀    ▀▄▄ ▀▀▄
     █   █            ▀            █   █
   ▄▀ █  ▀▄▄                     ▄█▀  █ ▀▄
  ▄▀ ▄▀ █▄ ▀▀▀██▄▄▄       ▄▄▄██▀▀  ██ ▀▄ ▀▄
  ▀▄▀▀▄ ██ ▄▄▄▄▄▄  ▀▄   ▄▀  ▄▄▄▄▄▄ ██ ▄▀▀▄▀
 ██   █ ██ ▀▄    ▀▄ █   █ ▄▀    ▄▀ ██ █  ▀██
 █  ▄█  ▀█  ▀▀▀▀▀▀▀ █   █ ▀▀▀▀▀▀▀  █   █▄  █
█▀ █  █  █          █   █          █  █  █ ▀▀
 █▀  ▄▀  █▀▄        █   █        ▄▀█  ▀▄  ▀█
 ▄  █▀   █ ▀█▄      ▀   ▀      ▄█▀ █  ▄▀█  ▄
 █▄▀  █  █                         █  █  ▀▄█
 ▀▄  █   ▀█        ▄▄▀▄▀▄▄        █▀   █  ▄
  ▀▄▀▀  █▄ █     ▀█  ▀▀▀  █▀     █ ▄█ ▄▀▀▄▀
   ▀ ▄  ██ █▀▄     ▀▀▄▄▄▀▀     ▄▀█ ██ ▀▄ ▀
    ▀█  ██ █ █▀▄    ▄▄▄▄▄    ▄▀█ █ ██  █▀
      ▀▄ ▀ █ █ ██▄         ▄██ █ █ ▀ ▄▀
        ▀▄ █ █ █ ▀█▄     ▄█▀ █ █ █ ▄▀
          ▀▀▄█ █    ▀▀▀▀▀    █ █▄▀▀
              ▀▀ ▄▄▄▄▄▄▄▄▄▄▄ ▀▀
   
..I  D  E  N  A..
   
Proof-of-Person Blockchain

Join the mining of the first human-centric
cryptocurrency
 



 
▲    2 3 2 2

..N  O  D  E  S..
   
                ██
                ██
                ██
                ██
                ██
         ▄      ██      ▄
         ███▄   ██   ▄███
          ▀███▄ ██ ▄███▀
            ▀████████▀
              ▀████▀
                ▀▀
██▄                            ▄██
███                            ███
███                            ███
███                            ███
 ███▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄███
  ▀▀██████████████████████████▀▀
   
D O W N L O A D

Idena node

   
   
▄▄▄██████▄▄▄
▄▄████████████████▄▄
▄█████▀▀        ▀▀█████▄
████▀                ▀████
███▀    ▄▄▄▄▄▄▄▄▄       ▀███
███      █   ▄▄ █▀▄        ███
██▀      █  ███ █  ▀▄      ▀██
███       █   ▀▀ ▀▀▀▀█       ███
███       █  ▄▄▄▄▄▄  █       ███
███       █  ▄▄▄▄▄▄  █       ███
██▄      █  ▄▄▄▄▄▄  █      ▄██
███      █          █      ███
███▄    ▀▀▀▀▀▀▀▀▀▀▀▀    ▄███
████▄                ▄████
▀█████▄▄        ▄▄█████▀
▀▀████████████████▀▀
▀▀▀██████▀▀▀
   
    .REQUEST INVITATION.
nabworth
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
August 11, 2013, 09:04:57 AM
 #1713

so is xpm being pool mined/bot mined now

no solo's anymore ?

i'm still soloing on a dual core laptop and a single core vm and I get the occasional block every 1 - 2 weeks. its no much but i dont pay for electricity so it doesnt hurt for me to just keep running it. either way, still able to solo mine on some crappy hardware.
FoldingTime
Full Member
***
Offline Offline

Activity: 162
Merit: 100


View Profile
August 11, 2013, 09:15:21 AM
 #1714

so is xpm being pool mined/bot mined now

no solo's anymore ?

i'm still soloing on a dual core laptop and a single core vm and I get the occasional block every 1 - 2 weeks. its no much but i dont pay for electricity so it doesnt hurt for me to just keep running it. either way, still able to solo mine on some crappy hardware.
I make more solo mining, however, the payouts are sporadic.
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2923


Terminated.


View Profile WWW
August 11, 2013, 09:30:27 AM
 #1715

so is xpm being pool mined/bot mined now

no solo's anymore ?
You can solo on a server  Cheesy

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
matt4054
Legendary
*
Offline Offline

Activity: 1876
Merit: 1025


cryptoscaper.com


View Profile WWW
August 11, 2013, 10:03:41 AM
 #1716

so is xpm being pool mined/bot mined now

no solo's anymore ?
You can solo on a server  Cheesy

However, getting ROI is hazardous (hint: GPU miners coming) so only on pre-owned servers, I would say Grin

VPS are currently barely breaking even AFAIK

Cryptoscaper · Live cryptocurrency market data
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
August 11, 2013, 12:39:18 PM
 #1717

Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
TheSpiral
Full Member
***
Offline Offline

Activity: 182
Merit: 100



View Profile WWW
August 11, 2013, 12:52:37 PM
 #1718

Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.
I don't have a crystal ball. Alpha testing on mtrlt's miner suggested an early 25x advantage for GPU's (mind you, high end GPU vs 1 CPU core, but promising). Even if it was the same speed as your CPU, it'd essentially double a desktop's mining speed than it currently is and at least provide some parity with VPS's.

[Cex.io] - Cheap virtual mining.
mhps
Hero Member
*****
Offline Offline

Activity: 516
Merit: 500


CAT.EX Exchange


View Profile
August 11, 2013, 12:54:54 PM
 #1719

Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.

PrimeCoin is doing one of its jobs -- motivating people to search primes harder (e.g. finding ways to use GPUs)




|(
▄▄██████████▄▄
▄██████████████████▄
▄█████▀ ▀█████▀ ▀██████▄
██████ ███ ▀▀▀ ███ ███████
██████▀▄███████████▄▀███████
███████ █████████████ ████████
███████ █████████████ ████████
████████▄▀█████████▀▄█████████
██████████▄ █████ ▄█▀▄▄▄▀█████
██████████ ████▌▐█ █▀▄█ ████
████████▌▐█████ █▌▐█▄▄████
▀█████▀ ██████▄ ▀ █████▀
▀██████████████████▀
▀▀██████████▀▀
)(.
)
▌   ANNOUNCE THREAD   ▌▐   BOUNTY   ▐
TWITTER  |  FACEBOOK  |  TELEGRAM  |  DISCORD
(((((((   MOBILE APP [ ANDROID / IOS ]   )))))))
)
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
August 11, 2013, 01:09:28 PM
 #1720

Will GPU add much though? It doesn't seem GPU is widely used in the prime-search world if you google for it.

PrimeCoin is doing one of its jobs -- motivating people to search primes harder (e.g. finding ways to use GPUs)

Very true.
Pages: « 1 ... 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 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 »
  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!