Author

Topic: Bitcoin and Altcoin default ports (Read 1386 times)

hero member
Activity: 686
Merit: 500
May 16, 2012, 08:18:26 PM
#15
Very useful, thanks.
sr. member
Activity: 459
Merit: 250
March 13, 2012, 01:38:28 PM
#14
I've currently got their 5.x linux binary running and merged with my p2pool install (--mergedurl).  P2Pool isn't complaining (as if it were invalid or anything) but I haven't successfully solved any blocks on it either yet.

The getauxblock call is what p2pool is calling to get the merged mining data from the alt chains (i think).

I don't know if is the proper client to be using though with the source being 4.x and this client not being compatible with 4.x for p2p connections.  (See my other post in the RuCoin thread.)
legendary
Activity: 2940
Merit: 1090
March 13, 2012, 12:38:21 PM
#13
I've been running the merge-mining client from the rucoin site.

I can give yours a try this evening when I get home.

They have one that can be merged mined as an auxilliary chain like all the other merged mined alcoins, so you can mine BTC as primary chain and all the alts including RUcoin as altchains??? I thought all they had was a copy based on bitcoin such that like bitcoin it can be used as PRIMARY chain, thus that theirs could not be merged-mined alongside bitcoin???

-MarkM-
sr. member
Activity: 459
Merit: 250
March 13, 2012, 11:34:55 AM
#12
I've been running the merge-mining client from the rucoin site.

I can give yours a try this evening when I get home.
legendary
Activity: 2940
Merit: 1090
March 13, 2012, 10:13:36 AM
#11
Thanks. Okay I set mine to chain ID zero too and left it overnight to catch up with the blockchain, looks like I am now in synch.

Have you tried the RUcoin that I added the merged-mining ability to? If not, might you be able to so? I would like to make sure it works and if not make whatever fises it might need. It is at https://sourceforge.net/projects/galacticmilieu/files/ in the RUCoin subdirectory.

-MarkM-
sr. member
Activity: 459
Merit: 250
March 12, 2012, 01:57:24 PM
#10
:~/apps$ ./clients/geistgeld getinfo
{
    "version" : 36977,
    "balance" : 156.31440700,
    "blocks" : 957298,
    "connections" : 5,
    "proxy" : "",
    "generate" : false,
    "genproclimit" : -1,
    "difficulty" : 0.06249911,
    "hashespersec" : 0,
    "Likely to be Geistnet?" : true,
    "keypoololdest" : 1331547600,
    "paytxfee" : 0.00000000,
    "errors" : ""
}

Both my windows client and linux client are at the same block number and show chainid 0
legendary
Activity: 2940
Merit: 1090
March 12, 2012, 01:49:55 PM
#9
What block are you up to? I tried different settings for the OurChainID, like the 6 that is a gap in the list of chains, and the 8 that other than outlier coiledcoin at 16 would be next on the list, but each time the blockchain became shorter, and changing it back to zero the blockchain still stayed shorter than the long I'd seen it.

-MarkM-
sr. member
Activity: 459
Merit: 250
March 12, 2012, 01:46:59 PM
#8
So far so good.. Smiley

Been running p2pool with GeistGeld merged in for a couple of weeks now and get credit for both so it seems to work ok.
legendary
Activity: 2940
Merit: 1090
March 12, 2012, 01:36:35 PM
#7
Yeah, thats because bitcoin's chain ID is zero and the default config file you get with GeistGeld doesn't set the OurChainID setting.

I am not sure its kosher to use the same ID as another chain, especially if both chains are going to be merged-mined together.

I'm not positive its not kosher either though.

-MarkM-
sr. member
Activity: 459
Merit: 250
March 12, 2012, 01:20:19 PM
#6
Don't know... not sure what "OurChainID" is...  the only chain id I know of for GG reports as 0:


:~/apps$ ./clients/geistgeld getauxblock
{
    "target" : "0000000000000000000000000000000000000000000000000000ffff0f000000",
    "hash" : "80bbb249e96705418b81242e959f1ff8097477c3d21a601be5730e5f705ea6b5",
    "chainid" : 0
}

legendary
Activity: 2940
Merit: 1090
March 12, 2012, 11:36:47 AM
#5
Ya, GeistGeld has an average of 4 blocks per minute.  I'm merge mining it here with everything else I can find.

I grabbed it from github, but it does not seem to have set OurChainID anywhere. WHat ID are you using for it and how did you find out which one it is supposed to be using?

-MarkM-
sr. member
Activity: 459
Merit: 250
March 12, 2012, 07:56:55 AM
#4
Ya, GeistGeld has an average of 4 blocks per minute.  I'm merge mining it here with everything else I can find.
legendary
Activity: 2940
Merit: 1090
March 11, 2012, 11:04:54 PM
#3
Thanks! Which is the one block every ten seconds one? If that is GeistGeld that would be why I never bothered with it.

Those that used multicoin either directly or as base code put their actual default ports in the default .conf file they include, so I should also have grep'd for the values in the config files. Basically it looks that is the ones that didn't need to change it i nthe code because multicoin uses the config file to put all the unique to each chain data in so one executable can execute any of the supported chains.

At a glance it looks like the only 18333 : 8333 's in the greap that aren't multicoin-based are my newcoin and prgcoin things that aren't actually coins yet just templates to work on / work from.

-MarkM-
sr. member
Activity: 459
Merit: 250
March 11, 2012, 09:58:45 PM
#2
Nice list... I haven't heard of half of those clients - time to go searching.  Wink


You missed a couple though.

GeistGeld/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18333 : 8333; }

Bitchip (knowing it's 23101 from the debug log):

~/apps/clients-src$ grep '23101' bitchip/src/*.h
bitchip/src/protocol.h:    return testnet ? 23201 : 23101;
legendary
Activity: 2940
Merit: 1090
March 11, 2012, 01:27:08 PM
#1
I thought altcoin makers would also find it useful to know which ports various coins already use so here is what I have so far:

Code:
=================================
Bitcoin and Altcoin default ports
=================================

[user@hostname bitcoin]# grep 'return fTestNet ?' */src/net.h
bitcoin-git/src/protocol.h:    return testnet ? 18333 : 8333;
coiledcoin-git/src/protocol.h:    return testnet ? 18368 : 8368;
devcoin-git/src/protocol.h:    return testnet ? 18333 : 8333;
doublec-iocoin-git/src/protocol.h:    return testnet ? 17333 : 7333;
litecoin-git/src/protocol.h:    return testnet ? 19333 : 9333;
newcoin/src/protocol.h:    return testnet ? 18333 : 8333;
prgcoin/src/protocol.h:    return testnet ? 18333 : 8333;
rucoin-0.4.0.1/src/protocol.h:    return testnet ? 18883 : 8883;
[user@hostname bitcoin]# grep 'return fTestNet ?' */src/net.h
bitnickel/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18393 : 8393; }
botcoin-qt/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18333 : 8333; }
botcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18353 : 8353; }
britcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18343 : 8343; }
cdnbitcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18383 : 8383; }
czbitcash/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18363 : 8363; }
devcoind/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 62333 : 52333; }
devcoin-qt/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 62333 : 52333; }
devcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 62333 : 52333; }
fairbrix-git/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 8591 : 8591; }
gmcbitcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18323 : 8323; }
grfbitcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18313 : 8313; }
groupcoin-qt/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 61333 : 51333; }
groupcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 61333 : 51333; }
ixcoin-ixcoin-5c2d93a/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18337 : 8337; } // ixcoin
old-devcoind-git/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 62333 : 52333; }
rucoind/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18883 : 8883; }
solidcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 17555 : 7555; }
tenebrixd-git/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18333 : 8333; }
tenebrix-git/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18333 : 8333; }
unbitcoin/src/net.h:inline unsigned short GetDefaultPort() { return fTestNet ? 18373 : 8373; }

-MarkM-

Jump to: