Pages:
Author

Topic: Altcoins and Checkpoins? - page 2. (Read 2173 times)

member
Activity: 87
Merit: 10
May 16, 2013, 11:59:09 PM
#12
Sorry I'm sure you got something better to do with your time then help a noob like me but I just have one more question (more like a few):

Should I change the ports? does it matter what I change them to?

Yes change the ports for the same reason. Otherwise other coins can connect to your client and attempt to send blocks and transactions to it. That's bad. IIRC there's also some magic numbers you need to change so if somehow another coin does connect to one of your clients, any blocks or transactions sent from it are invalid and will be dropped. And vice versa of course.

I don't know where these magic numbers are in the code. I haven't studied the code very closely because right now I don't intend to make an altcoin.

Does it matter what port # I change it to? Does it have to be specific or can I just change like the last number in the sequence and it will work?
member
Activity: 87
Merit: 10
May 16, 2013, 11:48:39 PM
#11
testnet doesn't neef checkpoints; that's why I wondered. do you have a valid genesis block?

yes I do... at least I think I do... I don't get any errors when I start up the client so I assume I have one.
full member
Activity: 406
Merit: 104
Convert Crypto at BestChange
May 16, 2013, 11:04:28 PM
#10
you don't need checkpoints if you don't care people use a longer block chain to replace yours
newbie
Activity: 28
Merit: 0
May 16, 2013, 10:48:23 PM
#9
Sorry I'm sure you got something better to do with your time then help a noob like me but I just have one more question (more like a few):

Should I change the ports? does it matter what I change them to?

Yes change the ports for the same reason. Otherwise other coins can connect to your client and attempt to send blocks and transactions to it. That's bad. IIRC there's also some magic numbers you need to change so if somehow another coin does connect to one of your clients, any blocks or transactions sent from it are invalid and will be dropped. And vice versa of course.

I don't know where these magic numbers are in the code. I haven't studied the code very closely because right now I don't intend to make an altcoin.
sr. member
Activity: 308
Merit: 250
May 16, 2013, 09:57:46 PM
#8
testnet doesn't neef checkpoints; that's why I wondered. do you have a valid genesis block?
member
Activity: 87
Merit: 10
May 16, 2013, 09:37:19 PM
#7
Sorry I'm sure you got something better to do with your time then help a noob like me but I just have one more question (more like a few):

Should I change the ports? does it matter what I change them to?
newbie
Activity: 28
Merit: 0
May 16, 2013, 09:31:50 PM
#6
how would I go about setting up an irc channel? using freenode or would I have to set up my own server too?

Keep the server the same. Just change the name in the string. If the channel doesn't exist on the server in question it will be created. Done. When all the clients leave the channel the IRC server will destroy the channel.

Just keep the IRC server the same. FreeNode would probably not appreciate bitcoin traffic. But I presume someone at some point asked the default IRC server admins if they could use it for bitcoin traffic.
member
Activity: 87
Merit: 10
May 16, 2013, 09:27:51 PM
#5
does your coin mine in test net?

I don't think so... if it did mine in testnet I would put the -testnet command in terminal right?

The irc is how it gets IP addresses for nodes, and it does this by looking at join messages in the IRC channel it's in. If you don't create a new channel then you will get peers from whatever other coin is in that channel. That's bad. You should have your own channel for your coin. Otherwise it will take forever for any new users of your coin to find peers, because all of the IP addresses it will try from IRC are not using your coin but someone else's.

how would I go about setting up an irc channel? using freenode or would I have to set up my own server too?
sr. member
Activity: 308
Merit: 250
May 16, 2013, 09:25:27 PM
#4
does your coin mine in test net?
newbie
Activity: 28
Merit: 0
May 16, 2013, 09:21:56 PM
#3
The irc is how it gets IP addresses for nodes, and it does this by looking at join messages in the IRC channel it's in. If you don't create a new channel then you will get peers from whatever other coin is in that channel. That's bad. You should have your own channel for your coin. Otherwise it will take forever for any new users of your coin to find peers, because all of the IP addresses it will try from IRC are not using your coin but someone else's.
newbie
Activity: 42
Merit: 0
May 16, 2013, 08:44:21 PM
#2
You shouldnt need them if your coin is really in house unless you expect someone you know to rape your coin with their hashing power.
member
Activity: 87
Merit: 10
May 16, 2013, 06:51:13 PM
#1
Okay so me and a friend have been developing an altcoin for personal use. Sort of like an in-house currency. We managed to create the genesis block but the checkpoints are stumping us. We are using the Smallchange source code and a quick look through the checkpoints.cpp file is confusing us to no end. Is this a necessary part to making a working altcoin or can we just leave it as is?

Also we are stummped on the irc.cpp file as well do we need to make our own irc channel or can we just leave it as is aswell? Can we make the channel using freenode?
Pages:
Jump to: