Bitcoin Forum
June 21, 2024, 08:27:23 PM *
News: Voting for pizza day contest
 
   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 ... 434 »
  Print  
Author Topic: [ANN] SpreadCoin | True Decentralization (No Pools) | Testing New Masternodes  (Read 810026 times)
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 14, 2014, 11:54:09 AM
 #121

Sorry - took me a lil bit to figure out how to upload pics Smiley

There's your problem, right there.

One easy way to check is to have a Linux VM handy (Vagrant, VMWare or VirtualBox) and then you can check very simply with:

Code:
$ grep -n -r pchMessageStart spreadcoin

I've bowdlerised the results but the principle is clear:

Code:
spreadcoin/src/main.h:832:        unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.h:1564:        unsigned char pchMessageStart[4];
spreadcoin/src/protocol.cpp:20:static unsigned char pchMessageStartTest[4] = { 0xc2, 0xe3, 0xcb, 0xfa };
spreadcoin/src/protocol.cpp:23:static unsigned char pchMessageStartSpreadcoin[4] = { 0x4f, 0x3c, 0x5c, 0xbb };
spreadcoin/src/protocol.cpp:25:void GetMessageStart(unsigned char pchMessageStart[], bool)
spreadcoin/src/protocol.cpp:28:        memcpy(pchMessageStart, pchMessageStartTest, sizeof(pchMessageStartTest));
spreadcoin/src/protocol.cpp:30:        memcpy(pchMessageStart, pchMessageStartSpreadcoin, sizeof(pchMessageStartSpreadcoin));
spreadcoin/src/main.cpp:3263:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:3585:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:4389:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/protocol.h:62:        unsigned char pchMessageStart[4];
spreadcoin/src/db.cpp:496:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]
spreadcoin/src/db.cpp:536:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]

At the very least, the output should cue a degree of circumspection and help you be less precipitate in your wagers.

Cheers

Graham
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 14, 2014, 08:59:32 PM
Last edit: August 14, 2014, 10:19:47 PM by Mr. Spread
 #122

Blockchain Explorer
http://vps.spreadcoin.net/explorer/

Still needs a bit more work to make it more informative.

Interesting blocks/addresses:
http://vps.spreadcoin.net/explorer/630
http://vps.spreadcoin.net/explorer/4479
http://vps.spreadcoin.net/explorer/SNXGyzuWGTEk9KoT7oZ5pFn1VdTmtkwrKx
http://vps.spreadcoin.net/explorer/Se9vToZvDWpLMWHiPWxEkUnpdt2PNJKZTE
Seems that some people are collecting their mined coins on single addresses.

Developer of SpreadCoin
Frigga77
Sr. Member
****
Offline Offline

Activity: 379
Merit: 250


View Profile
August 14, 2014, 09:21:53 PM
 #123

Blockchain Explorer
http://spreadcoin.net/explorer/

Still needs a bit more work to make it more informative.

Interesting blocks/addresses:
http://spreadcoin.net/explorer/630
http://spreadcoin.net/explorer/4479
http://spreadcoin.net/explorer/SNXGyzuWGTEk9KoT7oZ5pFn1VdTmtkwrKx
http://spreadcoin.net/explorer/Se9vToZvDWpLMWHiPWxEkUnpdt2PNJKZTE
Seems that some people are collecting their mined coins on single addresses.

Nice work!

So let me get this straight: Every block I find goes to another spreadcoinaddress? I did not notice yet  Embarrassed .
Like it though, nobody can see how much I mined atm Wink
Is that where you got the name from?
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 14, 2014, 09:31:48 PM
 #124

Every block I find goes to another spreadcoinaddress?
Yes, this is the same as in Bitcoin. This is purely wallet feature, with some effort you can mine always to the same address.

Developer of SpreadCoin
Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 01:08:07 AM
 #125

Sorry - took me a lil bit to figure out how to upload pics Smiley
There's your problem, right there.

One easy way to check is to have a Linux VM handy (Vagrant, VMWare or VirtualBox) and then you can check very simply with:

Code:
$ grep -n -r pchMessageStart spreadcoin

At the very least, the output should cue a degree of circumspection and help you be less precipitate precipitative in your wagers.

Cheers

Graham


Hope you don't mind me correcting your comment... makes a little bit more sense now. Big words don't scare me.

Evidently you assume I downloaded the files? But since you seem to know what my problem is... why not scurry over to the thread where I'm offering a bounty to anyone who can help me recover my wallet.dat files. Hell, at least it'll save me from having to buy coins to pay this here bounty - yeah, I keep my word. And not sure what you think my problem is... other forums you're allowed to upload pics; my problem was with finding a site to host the pics.

Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 01:12:20 AM
 #126

I just remembered that before the last wallet update, when i had the old wallet open, i saw a message(in the wallet) about the new wallet and the hardfork at block 2200.

Is this message feature something that only spreadcoin has, or other coins have it as well?


Im sure they can do it with other wallets , but its the only time I have seen it in a wallet!! maybe its a first i dont know but it is handy!!

That's what i was thinking too!

Mr. Spread: can you elaborate a little bit more on this feature please?
This is general feature in many Bitcoin forks. It is used in rare cases when serious vulnerability is found and before a hardfork so you probably won't see it often. Some devs maybe are to lazy to use it.


And I wonder if Dev got his 1BTC from that guy that was saying there was missing bits of the code??
No. My address is still empty - https://blockchain.info/address/1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS
and Lucky Cris just disappeared:
Quote
Last Active: August 12, 2014, 07:24:01.

Well hopefully she (thats what here profile says anyway) will keep her end of the bargain up!!

And when you get sometime would like to have a chat with you maybe on a IRC channel or something , I know real world can be busy , but like I was saying , I see a massive potential here and want to have a chat, when your available!!

And she (yes, I am) most certainly will. And what difference does it make whether I'm a female or not in this situation? You took the time to view my profile, so I wouldn't doubt you skimmed my previous posts. What, not used to a girl not begging for coins here?

zeca pagodinho
Full Member
***
Offline Offline

Activity: 189
Merit: 100



View Profile
August 15, 2014, 01:28:46 AM
 #127

Blockchain Explorer
http://vps.spreadcoin.net/explorer/

Still needs a bit more work to make it more informative.

Interesting blocks/addresses:
http://vps.spreadcoin.net/explorer/630
http://vps.spreadcoin.net/explorer/4479
http://vps.spreadcoin.net/explorer/SNXGyzuWGTEk9KoT7oZ5pFn1VdTmtkwrKx
http://vps.spreadcoin.net/explorer/Se9vToZvDWpLMWHiPWxEkUnpdt2PNJKZTE
Seems that some people are collecting their mined coins on single addresses.


Hello!
You can me help?
How to use the wallet in the command line?  Huh
Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 01:39:07 AM
 #128

I just remembered that before the last wallet update, when i had the old wallet open, i saw a message(in the wallet) about the new wallet and the hardfork at block 2200.

Is this message feature something that only spreadcoin has, or other coins have it as well?


Im sure they can do it with other wallets , but its the only time I have seen it in a wallet!! maybe its a first i dont know but it is handy!!

That's what i was thinking too!

Mr. Spread: can you elaborate a little bit more on this feature please?
This is general feature in many Bitcoin forks. It is used in rare cases when serious vulnerability is found and before a hardfork so you probably won't see it often. Some devs maybe are to lazy to use it.


And I wonder if Dev got his 1BTC from that guy that was saying there was missing bits of the code??
No. My address is still empty - https://blockchain.info/address/1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS
and Lucky Cris just disappeared:
Quote
Last Active: August 12, 2014, 07:24:01.

Seriously? disappeared... and even pulling my last active date? You know... I'm not even upset that I 'lost' this bet, but assuming I disappeared because I wasn't active for a couple of days is silly; if I didn't know any better, I'd think you're trying to piss me off. Surely you took a peek at my post history... I don't post here everyday; I have a life. Actually, I never log out so it should look as if I'm logged in 24/7. The only time I log in is when I have to restart my system or the site goes down. I need to fix that anyways.

But all aside - I have no problem paying up; I keep my word. I'm just curious to know why all the instruction provided by members (on this forum, github and others) all point to the main.cpp for the pchmessagestart value. No one has ever hinted that it's listed in a protocol file; this has me wondering whether there's any significance.

Anyhoo, your choice... you can start a new thread that you won the bet and I owe you (frankly, knowing this tidbit is worth a coin; I've asked several devs for it... most had no clue what the hell I was talking about) or we can use this thread for your payments. Yeah, I'm gonna pay you, but I'll be damned if I'm going to assist with funding your endeavor; I still don't have much confidence in the success of this coin. On the other hand, if you were an established member, they would've been in your wallet shortly after I logged on today.


Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 02:02:39 AM
 #129

So Darkcoin is also a scam in your opinion: https://github.com/darkcoinproject/darkcoin/blob/master/src/main.cpp#L3591
As well as Bitcoin: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L3214
As you said, these values are used to identify the network. They are the first bytes that each node sends during a connection and they are the first bytes that each node should receive. This way you can easily detect if you have connected to a wrong cryptocurrency network (or even something completely different like a webserver or bittorrent client). Wallet cannot work without these values, they are not specifically for pools. Pools also need to connect to the network so they also need them. For SpreadCoin you can find these values in protocol.cpp: https://github.com/spreadcoin-project/spreadcoin/blob/master/src/protocol.cpp#L23

Note that values that you pointed to in your screenshot are actually for testnet.

My bitcoin address: 1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS

Of course I don't think that either is a scam - but I see the link indicates those values are in their main.cpp file - yours on the other hand is located where people who write guides (and even on the wiki itself) neglected to tell people. Now I'm really wondering. I don't claim to be any kind of techie, but using their instruction, I was able to create the network.py files for the coins who didn't have them listed in the hub. It wasn't until I started to bring nodes online for these fly by nights that I noticed those values weren't in the main.cpp. After asking several devs how I can find them and got nothing but crickets, I came to the conclusion that something must be up with it. Before downloading the files, I always checked the files for the values needed to bring a node online... there was no need to waste my time compiling a wallet for a coin I couldn't set up a pool for. But like I said... this info is instrumental; worth a btc IMO.

And yes, I realize the numbers were for the testnet; the hex value for the real network is located in that file as well.

BITDV
Legendary
*
Offline Offline

Activity: 1400
Merit: 1001


Undeads.com - P2E Runner Game


View Profile
August 15, 2014, 02:11:36 AM
 #130

I just remembered that before the last wallet update, when i had the old wallet open, i saw a message(in the wallet) about the new wallet and the hardfork at block 2200.

Is this message feature something that only spreadcoin has, or other coins have it as well?


Im sure they can do it with other wallets , but its the only time I have seen it in a wallet!! maybe its a first i dont know but it is handy!!

That's what i was thinking too!

Mr. Spread: can you elaborate a little bit more on this feature please?
This is general feature in many Bitcoin forks. It is used in rare cases when serious vulnerability is found and before a hardfork so you probably won't see it often. Some devs maybe are to lazy to use it.


And I wonder if Dev got his 1BTC from that guy that was saying there was missing bits of the code??
No. My address is still empty - https://blockchain.info/address/1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS
and Lucky Cris just disappeared:
Quote
Last Active: August 12, 2014, 07:24:01.

Well hopefully she (thats what here profile says anyway) will keep her end of the bargain up!!

And when you get sometime would like to have a chat with you maybe on a IRC channel or something , I know real world can be busy , but like I was saying , I see a massive potential here and want to have a chat, when your available!!

And she (yes, I am) most certainly will. And what difference does it make whether I'm a female or not in this situation? You took the time to view my profile, so I wouldn't doubt you skimmed my previous posts. What, not used to a girl not begging for coins here?
I do apologize if that sounded sexiest , I should have done it as a edit as I originally wrote he but thought I would double checkand changed it my bad!!
Also I have many female friends in the crypto community and quite often they will bring a fresh view point to the table so no I really dont have any problems with females or girls!!
But if I offended you , sorry!!

💀|.
   ▄▄▄▄█▄▄              ▄▄█▀▀  ▄▄▄▄▄█      ▄▄    ▄█▄
  ▀▀▀████████▄  ▄██    ███▀ ▄████▀▀▀     ▄███   ▄███
    ███▀▄▄███▀ ███▀   ███▀  ▀█████▄     ▄███   ████▄
  ▄███████▀   ███   ▄███       ▀▀████▄▄███████████▀
▀▀███▀▀███    ███ ▄████       ▄▄████▀▀████   ▄███
 ██▀    ▀██▄  ██████▀▀   ▄▄█████▀▀   ███▀   ▄██▀
          ▀▀█  ▀▀▀▀ ▄██████▀▀       ███▀    █▀
                                      ▀
.
.PLAY2EARN.RUNNER.GAME.
||VIRAL
REF.SYSTEM
GAME
|
████████████████████████████
████████████████████████████
████████████████████████████
██████ ▄▀██████████  ███████
███████▄▀▄▀██████  █████████
█████████▄▀▄▀██  ███████████
███████████▄▀▄ █████████████
███████████  ▄▀▄▀███████████
█████████  ████▄▀▄▀█████████
███████  ████████▄▀ ████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████████████████████████
████████▀▀▄██████▄▀▀████████
███████  ▀        ▀  ███████
██████                ██████
█████▌   ███    ███   ▐█████
█████▌   ▀▀▀    ▀▀▀   ▐█████
██████                ██████
███████▄  ▀██████▀  ▄███████
████████████████████████████
████████████████████████████
████████████████████████████
gjhiggins
Legendary
*
Offline Offline

Activity: 2254
Merit: 1278



View Profile WWW
August 15, 2014, 03:03:27 AM
 #131

Evidently you assume I downloaded the files? But since you seem to know what my problem is

Not sure where you get that notion from, I was pointing to a pure-text solution which would eliminate any need to use/upload images<- the problem. I thought it might make that particular task a bit easier to manage.


Cheers

Graham
Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 03:25:37 AM
 #132

Evidently you assume I downloaded the files? But since you seem to know what my problem is

Not sure where you get that notion from, I was pointing to a pure-text solution which would eliminate any need to use/upload images<- the problem. I thought it might make that particular task a bit easier to manage.

Cheers

Graham


Ah! I see what you did. I assume you were hinting that I didn't know what I was doing because it took a minute to upload the screenshots. Yes, your method would've been much if I actually had the files downloaded - I was just using a browser's preview pane. But I wasn't being factious about the offer to assist me in recovering my wallet files - I'm still on the hunt. Unlike the incremental payments mr spread will get from me, I do pay out my bounties in full - and I don't retract them. Hell, I still sent out a mobo even after I found it was working  - I held a give away for a free broke mobo; turned out it wasn't broken after all, but oh well Smiley

Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 15, 2014, 03:27:14 AM
 #133

And I wonder if Dev got his 1BTC from that guy that was saying there was missing bits of the code??
No. My address is still empty - https://blockchain.info/address/1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS
and Lucky Cris just disappeared:
Quote
Last Active: August 12, 2014, 07:24:01.

Seriously? disappeared... and even pulling my last active date? You know... I'm not even upset that I 'lost' this bet, but assuming I disappeared because I wasn't active for a couple of days is silly; if I didn't know any better, I'd think you're trying to piss me off. Surely you took a peek at my post history... I don't post here everyday; I have a life. Actually, I never log out so it should look as if I'm logged in 24/7. The only time I log in is when I have to restart my system or the site goes down. I need to fix that anyways.
I did't mean to offend you, this forum in fact showed that you were offline so it appeared to me that you had logged out shortly after my post. I didn't go futher to explore your post history.

Anyhoo, your choice... you can start a new thread that you won the bet and I owe you (frankly, knowing this tidbit is worth a coin; I've asked several devs for it... most had no clue what the hell I was talking about) or we can use this thread for your payments. Yeah, I'm gonna pay you, but I'll be damned if I'm going to assist with funding your endeavor; I still don't have much confidence in the success of this coin. On the other hand, if you were an established member, they would've been in your wallet shortly after I logged on today.
I don't think there is a need for new thread as there is not much to discuss, you will pay when you can/want. For your peace of mind I can assure you that I would continue to work on my cryptocurrency regardless of this 1 btc, so you won't actually fund my endeavor.

So Darkcoin is also a scam in your opinion: https://github.com/darkcoinproject/darkcoin/blob/master/src/main.cpp#L3591
As well as Bitcoin: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L3214
As you said, these values are used to identify the network. They are the first bytes that each node sends during a connection and they are the first bytes that each node should receive. This way you can easily detect if you have connected to a wrong cryptocurrency network (or even something completely different like a webserver or bittorrent client). Wallet cannot work without these values, they are not specifically for pools. Pools also need to connect to the network so they also need them. For SpreadCoin you can find these values in protocol.cpp: https://github.com/spreadcoin-project/spreadcoin/blob/master/src/protocol.cpp#L23

Note that values that you pointed to in your screenshot are actually for testnet.

My bitcoin address: 1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS

Of course I don't think that either is a scam - but I see the link indicates those values are in their main.cpp file - yours on the other hand is located where people who write guides (and even on the wiki itself) neglected to tell people. Now I'm really wondering. I don't claim to be any kind of techie, but using their instruction, I was able to create the network.py files for the coins who didn't have them listed in the hub. It wasn't until I started to bring nodes online for these fly by nights that I noticed those values weren't in the main.cpp. After asking several devs how I can find them and got nothing but crickets, I came to the conclusion that something must be up with it. Before downloading the files, I always checked the files for the values needed to bring a node online... there was no need to waste my time compiling a wallet for a coin I couldn't set up a pool for. But like I said... this info is instrumental; worth a btc IMO.

And yes, I realize the numbers were for the testnet; the hex value for the real network is located in that file as well.
For DarkCoin these values are in protocol.cpp, for Bitcoin they are in chainparams.cpp.

But all aside - I have no problem paying up; I keep my word. I'm just curious to know why all the instruction provided by members (on this forum, github and others) all point to the main.cpp for the pchmessagestart value. No one has ever hinted that it's listed in a protocol file; this has me wondering whether there's any significance.
Technically it it possible to put them in any file. Maybe for most coins these values are in main.cpp but main.cpp is bloated with many unrelated stuff so devs try to move some code out of it.

Developer of SpreadCoin
Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 03:29:18 AM
 #134


Well hopefully she (thats what here profile says anyway) will keep her end of the bargain up!!

And when you get sometime would like to have a chat with you maybe on a IRC channel or something , I know real world can be busy , but like I was saying , I see a massive potential here and want to have a chat, when your available!!

And she (yes, I am) most certainly will. And what difference does it make whether I'm a female or not in this situation? You took the time to view my profile, so I wouldn't doubt you skimmed my previous posts. What, not used to a girl not begging for coins here?
I do apologize if that sounded sexiest , I should have done it as a edit as I originally wrote he but thought I would double checkand changed it my bad!!
Also I have many female friends in the crypto community and quite often they will bring a fresh view point to the table so no I really dont have any problems with females or girls!!
But if I offended you , sorry!!

Goodness! Now you're really being sexist by thinking that I need an apology Wink But no, you didn't offend me - I just thought I'd point out that bucket you placed me in, that's all.

Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 03:43:56 AM
 #135

And I wonder if Dev got his 1BTC from that guy that was saying there was missing bits of the code??
No. My address is still empty - https://blockchain.info/address/1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS
and Lucky Cris just disappeared:
Quote
Last Active: August 12, 2014, 07:24:01.

Seriously? disappeared... and even pulling my last active date? You know... I'm not even upset that I 'lost' this bet, but assuming I disappeared because I wasn't active for a couple of days is silly; if I didn't know any better, I'd think you're trying to piss me off. Surely you took a peek at my post history... I don't post here everyday; I have a life. Actually, I never log out so it should look as if I'm logged in 24/7. The only time I log in is when I have to restart my system or the site goes down. I need to fix that anyways.
I did't mean to offend you, this forum in fact showed that you were offline so it appeared to me that you had logged out shortly after my post. I didn't go futher to explore your post history.

Anyhoo, your choice... you can start a new thread that you won the bet and I owe you (frankly, knowing this tidbit is worth a coin; I've asked several devs for it... most had no clue what the hell I was talking about) or we can use this thread for your payments. Yeah, I'm gonna pay you, but I'll be damned if I'm going to assist with funding your endeavor; I still don't have much confidence in the success of this coin. On the other hand, if you were an established member, they would've been in your wallet shortly after I logged on today.
I don't think there is a need for new thread as there is not much to discuss, you will pay when you can/want. For your peace of mind I can assure you that I would continue to work on my cryptocurrency regardless of this 1 btc, so you won't actually fund my endeavor.

So Darkcoin is also a scam in your opinion: https://github.com/darkcoinproject/darkcoin/blob/master/src/main.cpp#L3591
As well as Bitcoin: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L3214
As you said, these values are used to identify the network. They are the first bytes that each node sends during a connection and they are the first bytes that each node should receive. This way you can easily detect if you have connected to a wrong cryptocurrency network (or even something completely different like a webserver or bittorrent client). Wallet cannot work without these values, they are not specifically for pools. Pools also need to connect to the network so they also need them. For SpreadCoin you can find these values in protocol.cpp: https://github.com/spreadcoin-project/spreadcoin/blob/master/src/protocol.cpp#L23

Note that values that you pointed to in your screenshot are actually for testnet.

My bitcoin address: 1MSL9Ph2RCUnpekpuf6Rofb4kUo1nArsnS

Of course I don't think that either is a scam - but I see the link indicates those values are in their main.cpp file - yours on the other hand is located where people who write guides (and even on the wiki itself) neglected to tell people. Now I'm really wondering. I don't claim to be any kind of techie, but using their instruction, I was able to create the network.py files for the coins who didn't have them listed in the hub. It wasn't until I started to bring nodes online for these fly by nights that I noticed those values weren't in the main.cpp. After asking several devs how I can find them and got nothing but crickets, I came to the conclusion that something must be up with it. Before downloading the files, I always checked the files for the values needed to bring a node online... there was no need to waste my time compiling a wallet for a coin I couldn't set up a pool for. But like I said... this info is instrumental; worth a btc IMO.

And yes, I realize the numbers were for the testnet; the hex value for the real network is located in that file as well.
For DarkCoin these values are in protocol.cpp, for Bitcoin they are in chainparams.cpp.

But all aside - I have no problem paying up; I keep my word. I'm just curious to know why all the instruction provided by members (on this forum, github and others) all point to the main.cpp for the pchmessagestart value. No one has ever hinted that it's listed in a protocol file; this has me wondering whether there's any significance.
Technically it it possible to put them in any file. Maybe for most coins these values are in main.cpp but main.cpp is bloated with many unrelated stuff so devs try to move some code out of it.

Thanks for the info, but I'm still going to dig into it; I don't know the first thing about code... I simply followed everyone's direction to start a p2pool, but this is an excuse for me to learn about coins on a deeper level I suppose. Don't take me very long tho to learn tho - hell, it took me less than a month to convert my rig to a web server and build a website and I knew absolutely nothing either going in. Still can't figure out that damn mail server, but I'll get it right. I'm more focused on learning how to harden the system more than anything right now; silly chick had her box wide the fuck open, no wonder it went bunkers on my ass and I lost everything. Anyhoo, until I recover my wallets I'll have to buy btc - the coins I have at an exchange are already reserved for the person who helps me to recover my files.

Lucky Cris
Sr. Member
****
Offline Offline

Activity: 280
Merit: 250


View Profile
August 15, 2014, 07:18:11 AM
 #136

Code:
spreadcoin/src/main.h:832:        unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.h:1564:        unsigned char pchMessageStart[4];
spreadcoin/src/protocol.cpp:20:static unsigned char pchMessageStartTest[4] = { 0xc2, 0xe3, 0xcb, 0xfa };
spreadcoin/src/protocol.cpp:23:static unsigned char pchMessageStartSpreadcoin[4] = { 0x4f, 0x3c, 0x5c, 0xbb };
spreadcoin/src/protocol.cpp:25:void GetMessageStart(unsigned char pchMessageStart[], bool)
spreadcoin/src/protocol.cpp:28:        memcpy(pchMessageStart, pchMessageStartTest, sizeof(pchMessageStartTest));
spreadcoin/src/protocol.cpp:30:        memcpy(pchMessageStart, pchMessageStartSpreadcoin, sizeof(pchMessageStartSpreadcoin));
spreadcoin/src/main.cpp:3263:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:3585:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:4389:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/protocol.h:62:        unsigned char pchMessageStart[4];
spreadcoin/src/db.cpp:496:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]
spreadcoin/src/db.cpp:536:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]

Cheers

Graham


Figure I might as well get my coin's worth. So I just read this thread from beginning... To include the info listed in the code Graham listed.

Mr Spread, what's that line of code in your db.cpp? Why would you need two different pchmessagestart identifiers for a coin? Which one is your coin's network?

Viper1
Sr. Member
****
Offline Offline

Activity: 686
Merit: 320


View Profile
August 15, 2014, 07:53:07 AM
 #137

Code:
spreadcoin/src/main.h:832:        unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.h:1564:        unsigned char pchMessageStart[4];
spreadcoin/src/protocol.cpp:20:static unsigned char pchMessageStartTest[4] = { 0xc2, 0xe3, 0xcb, 0xfa };
spreadcoin/src/protocol.cpp:23:static unsigned char pchMessageStartSpreadcoin[4] = { 0x4f, 0x3c, 0x5c, 0xbb };
spreadcoin/src/protocol.cpp:25:void GetMessageStart(unsigned char pchMessageStart[], bool)
spreadcoin/src/protocol.cpp:28:        memcpy(pchMessageStart, pchMessageStartTest, sizeof(pchMessageStartTest));
spreadcoin/src/protocol.cpp:30:        memcpy(pchMessageStart, pchMessageStartSpreadcoin, sizeof(pchMessageStartSpreadcoin));
spreadcoin/src/main.cpp:3263:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:3585:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/main.cpp:4389:    unsigned char pchMessageStart[4];
[...]
spreadcoin/src/protocol.h:62:        unsigned char pchMessageStart[4];
spreadcoin/src/db.cpp:496:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]
spreadcoin/src/db.cpp:536:    unsigned char pchMessageStart[4] = { 0xfb, 0xc0, 0xb6, 0xdb };
[...]

Cheers

Graham


Figure I might as well get my coin's worth. So I just read this thread from beginning... To include the info listed in the code Graham listed.

Mr Spread, what's that line of code in your db.cpp? Why would you need two different pchmessagestart identifiers for a coin? Which one is your coin's network?

I love looking at code. Don't really know how this all works but it seemed like the ones in db.cpp were used as some sort of header for files like peer.dat. Was curious so went looking and darkcoin, feathercoin, litecoin, reddcoin and of course spreadcoin have the exact same bytes as the header in their peer.dat file. Probably a lot more coins if they were originally based on litecoin.


BTC: 1F8yJqgjeFyX1SX6KJmqYtHiHXJA89ENNT
LTC: LYAEPQeDDM7Y4jbUH2AwhBmkzThAGecNBV
DOGE: DSUsCCdt98PcNgUkFHLDFdQXmPrQBEqXu9
A-tM
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
August 16, 2014, 06:13:01 PM
 #138

Hello!
Could someone help a noob?
Wanted to know where or how to use these commands?  Huh

options:
   -? This help message
   -conf = <file> Specify configuration file (default: spreadcoin.conf)
   -pid = <file> Specify pid file (default: spreadcoind.pid)
   -gen Generate coins (default: 0)
   -datadir = <dir> Specify the data directory
   -dbcache = <n> Set the size of the database cache in megabytes (default: 25)
   -timeout = <n> Specify the timeout (timeout) the connection in milliseconds (default: 5000)
....

Thanks in advance for your attention!

These are command line parameters.
Please create a shortcut for "spreadcoin-qt.exe".
Then edit the command line:

C:\ ... {Your path to wallet} \spreadcoin-qt.exe -gen

Then launch with this shortcut, and you will immediately see CPU usage top at 100%. Mining is on.

Regards,
Andy
A-tM
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
August 16, 2014, 07:24:03 PM
 #139

Hello Developer,

can you tell us, what level of mining optimization has the wallet?
Are there special piece of code optimized for different CPUs?

It seems to me, that i5 Haswell has significantly higher finding rate than "faster" i7 Ivy Bridge.
Should be any difference between HyperThreading on and off on i7?

EDIT:
can you explain little deeper about threading? Is each thread trying to find a new block, or are all the threads working on the same block?
(The latter seems much more reasonable to me, but I am asking for sure).


Thank you.

Regards,
Andy
Mr. Spread (OP)
Full Member
***
Offline Offline

Activity: 210
Merit: 100


View Profile
August 16, 2014, 08:06:01 PM
 #140

Hello Developer,

can you tell us, what level of mining optimization has the wallet?
Are there special piece of code optimized for different CPUs?
Built-in miner is the same as in Darkcoin. There are no CPU-specific optimizations.

It seems to me, that i5 Haswell has significantly higher finding rate than "faster" i7 Ivy Bridge.
How do you measure it? You can find exact hashrate with getmininginfo command (see at hashespersec value).

Should be any difference between HyperThreading on and off on i7?
I think that with HyperThreading hashrate should be higher, that is what HyperThreading for. I didn't check it myself.

EDIT:
can you explain little deeper about threading? Is each thread trying to find a new block, or are all the threads working on the same block?
(The latter seems much more reasonable to me, but I am asking for sure).


Thank you.

Regards,
Andy
Each thread has its own address for generated coins but otherwise blocks in each thread are the same. Well, in fact the same is true for the whole network (additional differences are caused by delays in blocks and transactions transmission).

Developer of SpreadCoin
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 ... 434 »
  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!