Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: shakezula on May 27, 2013, 04:47:34 PM



Title: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 04:47:34 PM
THIS IS NOT REALLY A NEW COIN TO MINE!!

Its actually a tutorial, step by step, with source code provided for two coins: foocoin is empty and ready to be customized; barcoin is the finished product of following the step by step guide found here:

http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&#how_to_clone_scrypt_based_altcoins_for_fun_and_profit (http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&#how_to_clone_scrypt_based_altcoins_for_fun_and_profit)

and knowing Devtome is a Wiki, here is an unfiltered .pdf version of the guide (will be updated as I add new items):

https://mega.co.nz/#!HFlzgCSb!SqWmpBux9BEUZwiX8o0XGGeEY08fPC76LdIIL91pQq0 (https://mega.co.nz/#!HFlzgCSb!SqWmpBux9BEUZwiX8o0XGGeEY08fPC76LdIIL91pQq0)
https://docs.google.com/file/d/0B49exKIsGBn5ajhqSjJyVDR6STQ/edit?usp=sharing (https://docs.google.com/file/d/0B49exKIsGBn5ajhqSjJyVDR6STQ/edit?usp=sharing)

Now a bit about the project in bullet points:

*Its based on Litecoin source, and uses examples found in the SmallChange repository

*Its not designed to be a primer on C or C++ programming, its a "change this and make it work" kind of guide

*The foocoin sources are customized to be as easy as possible to build on Mac, Linux, and Windows and the guide contains the steps needed to install the software and build each wallet.

*It is a tad tongue-in-cheek; the product of about a month's worth of reading and trial and error.

*I will not/can not do tech support for this; I've tried to compile as much info as I could and my experiences building GeoCoin and
Doubloons in to this guide. NEARLY all of the info came from other amazingly helpful people on this board--the rest is from trial and error, google, and various programming snippet websites. I am willing to have casual discussion about coins and coin creation though!

Foocoin Source: https://github.com/foocoin (https://github.com/foocoin) (blank, ready to be customized)
Barcoin Source: https://github.com/barcoin (https://github.com/barcoin) (really more for information and comparison)

I also took the time to build a pacakge of all the MinGW32 dependencies which can be retrieved via git and placed in c:\deps. The Foocoin source -qt.pro file is customized to look for these dependencies in c:\deps but the guide also shows you how to build them yourself and customize the -qt.pro file. The dependencies are here:

Foocoin MinGW32 Dependencies Bundle: https://github.com/foocoin/deps.git (https://github.com/foocoin/deps.git)

Last but not least, I also included the Windows-Qt addins in another repository so you can bundle them with your newly made coins:

Foocoin Windows Qt Addins: https://github.com/foocoin/windows-qt-addins.git (https://github.com/foocoin/windows-qt-addins.git)

Whew, ok, one last note--I haven't mastered the redistributable Mac-Qt yet, so consider that section a work in progress. Finally, please consider donating a few bits if you find this useful, my BTC and LTC addies are in my signature. This guide took me nearly 30 hours to compile and my wife would be ever so happy if something came of it  :D


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: blastbob on May 27, 2013, 04:50:05 PM
Good work :)


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: cryptohunter on May 27, 2013, 04:54:53 PM
awesome work, i still hope doubloons will make it just for the name.


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: muddafudda on May 27, 2013, 04:55:44 PM
Made it in time


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: Baneroks on May 27, 2013, 05:04:24 PM
Bye bye alt coins :)


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: featherman on May 27, 2013, 05:09:26 PM
BTCye


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: TheSwede75 on May 27, 2013, 05:21:35 PM
Good work :)

Now we just wait for you to compile qt and we can start mining barcoin against ops wishes :)


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: Tobius on May 27, 2013, 05:22:10 PM
Oh, well this is nice. Thanks!

Hopefully this will put an end to people adopting random coins...Regardless of your opinion of them, this has been getting insane


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: TheSwede75 on May 27, 2013, 05:22:17 PM
Made it in time

No you didn't. Meme coin was dead in the water even before this post.


Title: Re: [ANN] 'foo' and 'bar' coins--educational cut and paste cryptocurrency
Post by: Tobius on May 27, 2013, 05:24:28 PM
Made it in time

For what? Another coin made for no particular reason? :P


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: btceic on May 27, 2013, 05:32:31 PM
Thank you for this, we appreciate it


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 05:42:16 PM
So you mined no genesis block for barcoin, right? Could we still do this now, or do you need access to the git to reup the source once you have mined the genesis block?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Tobius on May 27, 2013, 05:44:08 PM
So you mined no genesis block for barcoin, right? Could we still do this now, or do you need access to the git to reup the source once you have mined the genesis block?
Why would he? The code is there for reference, not usage.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 05:44:45 PM
Barcoin is fully functional. Foocoin is empty. Barcoin is silly, but if you want to mine it, here's a windows wallet:

https://mega.co.nz/#!E4IQ0YQZ!fQ3aCRwtgtqSX27ChhK0pn3K575ZzSdRu4Zd5Okc6Ro
 (https://mega.co.nz/#!E4IQ0YQZ!fQ3aCRwtgtqSX27ChhK0pn3K575ZzSdRu4Zd5Okc6Ro)
Know there are currently NO seed nodes for it though, so you'll have to compile it somewhere to bootstrap it. I can run the initial node for a bit if there's interest.

Edit ok there is, geesh you guys are desperate to mine. Seednode/addnode = 69.85.86.195


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 05:46:10 PM
I have compiled it on my linux box and am getting no connections indeed. So how can I become the seed node?

Edit// aight it's working now, but how could i have become the seednode if you hadn't done so?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 05:53:14 PM
The node is down already so I'm just interested, could you tell how one can become a seednode?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: btceic on May 27, 2013, 05:54:23 PM
Can you point us to the defs for each of the options that are changed?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 05:57:44 PM
The node is down already so I'm just interested, could you tell how one can become a seednode?

Sorry, had to reboot--ran out of memory from a night of compiling. Go ahead, I will leave it up for a couple hours to let a few others get copies of the blockchain so if you REALLY want to mine/trade/whatever it, go ahead.

By the way, the 30 or so I already mined as a test are for sale, 1LTC each. Since there will ONLY BE 10K COINS, you better get in on it early!


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 05:58:37 PM
Can you point us to the defs for each of the options that are changed?

The tutorial outlines every step needed with LINE numbers and src/page notation. If you want a master .diff, use this one:

https://github.com/bfroemel/smallchange/commit/947a0fafd8d033f6f0960c4ff0748f76a3d58326

It was a good starting point for me.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Tobius on May 27, 2013, 05:59:10 PM
The node is down already so I'm just interested, could you tell how one can become a seednode?

Sorry, had to reboot--ran out of memory from a night of compiling. Go ahead, I will leave it up for a couple hours to let a few others get copies of the blockchain so if you REALLY want to mine/trade/whatever it, go ahead.

By the way, the 30 or so I already mined as a test are for sale, 1LTC each. Since there will ONLY BE 10K COINS, you better get in on it early!

He asked HOW, not CAN. :P Speaking of which I'm interested in the process behind it


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 06:00:53 PM
Yeah even though it 's working again, I'm still pretty interested in how one can become the seed node..


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 06:04:33 PM
As I was thinking about it, the only way to do it is to be one of the initial two nodes (as per the tutorial) or you'd have to have a downloadable version of the blockchain you could add to your wallet after compilation. Turning on my VPS with which was one of the original nodes in the step by step allows the block chain to get out and about.

Once there's active mining, the original node can be turned off--the "seednode" can then be any node with a full copy of the chain. To change it to be the place the client looks initially would require it being changed in the code and then recompiled. The barcoin source has no hard-coded seed node, just the initial VPS node that is added manually via addnode= or -connect=.



Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 06:05:37 PM
And how do we figure out what port a given coin uses? Where in the code can we find that?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 06:07:23 PM
Its in the tutorial, IIRC its 55883 for RPC.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Boxman90 on May 27, 2013, 06:10:49 PM
I found out through netlimiter, 55884 for outbound traffic.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: alex_fun on May 27, 2013, 06:11:39 PM
Since Shakezula constantly sits in freicoin and was paid by devoin developer to post this howto perhaps he can, giving his familiarity with this two coins, help newbies to clone them non stop which is what he might seek to accomplish? :)


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 27, 2013, 06:18:48 PM
Since Shakezula constantly sits in freicoin and was paid by devoin developer to post this howto perhaps he can, giving his familiarity with this two coins, help newbies to clone them non stop which is what he might seek to accomplish? :)


First off, I haven't been in the FRC room in about 3 weeks, I no longer support those guys and that's OK.

As for getting paid, I'm only earning the normal Devtome 1 share per 1K words and there was NO prior arrangement for me to create this guide.

I did this for EVERYONE to make their own coins, something YOU really wanted to do a few weeks back. Here's your chance for EstoniaCoin :P


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on May 27, 2013, 06:24:00 PM
And now for a proper Barcoin graphic: V1 (https://lh5.googleusercontent.com/-bv-MVJ3goa4/UaOgZMGNzyI/AAAAAAABSAQ/ZDMe6p0Fngw/s0/barcoin.png), V2 (https://lh6.googleusercontent.com/-G5C2jre3hBI/UaOkXsXAVZI/AAAAAAABSFI/cESwrkuMGPk/s0/barcoinv2.png)

*rolls around on the floor*

Edit: Oh yeah, and you should add a Doubloon donation address to your signature man. Also a Barcoin one now.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Hydroponica on May 27, 2013, 06:50:57 PM
FFS, now people are mining and selling your coin...


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: iGotSpots on May 27, 2013, 06:58:18 PM
FFS, now people are mining and selling your coin...

I've noticed that you just get angry everytime you miss out on something. Stop being a rude prick, just let them do what they want to do


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: escrow.ms on May 27, 2013, 07:01:56 PM
thanks man, you have done a awesome job.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: BrewCrewFan on May 27, 2013, 07:02:01 PM
FFS, now people are mining and selling your coin...

I've noticed that you just get angry everytime you miss out on something. Stop being a rude prick, just let them do what they want to do

Or he will mine the shit out of it then sell them...while talking shit about it. I took the guy off ignore because I need a laugh sometimes... he must be a bitter person cuz I have never seen anyone whine as much as he does.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: iGotSpots on May 27, 2013, 08:49:50 PM
FFS, now people are mining and selling your coin...

I've noticed that you just get angry everytime you miss out on something. Stop being a rude prick, just let them do what they want to do

Or he will mine the shit out of it then sell them...while talking shit about it. I took the guy off ignore because I need a laugh sometimes... he must be a bitter person cuz I have never seen anyone whine as much as he does.

Your name is BrewCrewFan, I think we might be very near each other. Our bases are in Waukesha and Franklin


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: idev on May 27, 2013, 09:16:13 PM
Superb guide, Thank you.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: maxpower on May 27, 2013, 09:49:56 PM
shakezula, this is great stuff. Congrats.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: barwizi on May 28, 2013, 05:13:10 AM
Thank yu for the wonderful guide, but i need to do something very specific, i'd like to change the algo in use. I'd like to know how to put a totally different algo. your assistance would be greatly appreciated. This coin will be for testing only to see if the algo works as planned maybe i'l release it to the public.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: walf_man on May 28, 2013, 07:16:15 AM
great work, i need this


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Nymph on May 28, 2013, 11:20:11 PM
You're absolutely wonderful, Shakezula! Thank you!  ;D  ;D  ;D


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: mastadonballs on May 28, 2013, 11:48:48 PM
https://www.dropbox.com/s/dqzlej1zbyda5fv/38211943.jpg


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: jasonslow on May 29, 2013, 01:33:08 AM
+ 1. Great Thread.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: jnada on May 29, 2013, 03:27:17 AM
Thank yu for the wonderful guide, but i need to do something very specific, i'd like to change the algo in use. I'd like to know how to put a totally different algo. your assistance would be greatly appreciated. This coin will be for testing only to see if the algo works as planned maybe i'l release it to the public.

This recipe should be attached to last Jamie Olivier cookbook, is really wonderful - This should faster announcement of AbbaCoin which I was planning to launch this autumn, counting 2-3 months for research, test etc. And now , suddenly all on one plate... Shakezula- you making people lazy...

BTW I would like to ask same question as barwizi did.
How to change algo?
Why to not let people consolidate their digital wealth on coins with SHA256? ;)
Just for any case.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: wtfvanity on May 29, 2013, 04:06:24 PM
Compiling binaries with step by step instructions will remain a hurdle for some.

However, this ought to quadruple the amount of alt coins, not like we weren't getting them already.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: pixel on May 29, 2013, 06:38:07 PM
Im a little confused here (no complaints though, really thank you for the guide!). It appears that the guide basically shows you how to re-brand litecoin or any other scrypt based coin, not create changes to the coin on top of that (amount of coins, difficulty, etc.). Is this right or am i missing somthing? Thanks again for the guide!


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 29, 2013, 06:42:43 PM
Im a little confused here (no complaints though, really thank you for the guide!). It appears that the guide basically shows you how to re-brand litecoin or any other scrypt based coin, not create changes to the coin on top of that (amount of coins, difficulty, etc.). Is this right or am i missing somthing? Thanks again for the guide!

Coins per block, ports, block retarget time, and max coins ever are in there too, check the "Cut and Paste" section.

Otherwise, yes, I've just made it easier (with the changes to the foocoin makefiles and qt.pro file) to compile, and laid it all out in black and white.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: barwizi on May 29, 2013, 07:20:31 PM
and adding a new algo?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: JahPowerBit on May 29, 2013, 07:39:16 PM
great job. +1 shakezula.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on May 29, 2013, 07:43:32 PM
and adding a new algo?

Its a tad out of the purview of a cut+paste tutorial and something I've only begun to figure out. Rest assured this has become my new obsession so if I figure it out reliably I will update the Devtome with the new info. The bottom most section is already to get a few new things soon--when I get the itch to do a bit more writing.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: barwizi on May 29, 2013, 07:47:59 PM
and adding a new algo?

Its a tad out of the purview of a cut+paste tutorial and something I've only begun to figure out. Rest assured this has become my new obsession so if I figure it out reliably I will update the Devtome with the new info. The bottom most section is already to get a few new things soon--when I get the itch to do a bit more writing.

much appreciated


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: palm12341 on June 06, 2013, 01:16:06 AM
I'm trying to make a version of YaCoin, does anyone here know how I might be able to mine the genesis block?
It isn't quite as because it is different from the scrypt coins in the guide


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Blindfolded on June 12, 2013, 02:50:45 AM
Thanks for this. I was able to get it working, but I couldn't have done it without you.  :)


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: owsleybeatsbigcartel on June 12, 2013, 03:04:39 AM
THIS IS NOT REALLY A NEW COIN TO MINE!!

Its actually a tutorial, step by step, with source code provided for two coins: foocoin is empty and ready to be customized; barcoin is the finished product of following the step by step guide found here:

http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide&#how_to_clone_scrypt_based_altcoins_for_fun_and_profit

and knowing Devtome is a Wiki, here is an unfiltered .pdf version of the guide (will be updated as I add new items):

https://mega.co.nz/#!HFlzgCSb!SqWmpBux9BEUZwiX8o0XGGeEY08fPC76LdIIL91pQq0
https://docs.google.com/file/d/0B49exKIsGBn5ajhqSjJyVDR6STQ/edit?usp=sharing

Now a bit about the project in bullet points:

*Its based on Litecoin source, and uses examples found in the SmallChange repository

*Its not designed to be a primer on C or C++ programming, its a "change this and make it work" kind of guide

*The foocoin sources are customized to be as easy as possible to build on Mac, Linux, and Windows and the guide contains the steps needed to install the software and build each wallet.

*It is a tad tongue-in-cheek; the product of about a month's worth of reading and trial and error.

*I will not/can not do tech support for this; I've tried to compile as much info as I could and my experiences building GeoCoin and
Doubloons in to this guide. NEARLY all of the info came from other amazingly helpful people on this board--the rest is from trial and error, google, and various programming snippet websites. I am willing to have casual discussion about coins and coin creation though!

Foocoin Source: https://github.com/foocoin (blank, ready to be customized)
Barcoin Source: https://github.com/barcoin (really more for information and comparison)

I also took the time to build a pacakge of all the MinGW32 dependencies which can be retrieved via git and placed in c:\deps. The Foocoin source -qt.pro file is customized to look for these dependencies in c:\deps but the guide also shows you how to build them yourself and customize the -qt.pro file. The dependencies are here:

Foocoin MinGW32 Dependencies Bundle: https://github.com/foocoin/deps.git

Last but not least, I also included the Windows-Qt addins in another repository so you can bundle them with your newly made coins:

Foocoin Windows Qt Addins: https://github.com/foocoin/windows-qt-addins.git

Whew, ok, one last note--I haven't mastered the redistributable Mac-Qt yet, so consider that section a work in progress. Finally, please consider donating a few bits if you find this useful, my BTC and LTC addies are in my signature. This guide took me nearly 30 hours to compile and my wife would be ever so happy if something came of it  :D

imo i'd be carefull anything Devtome related! ~ scammers all we need is like more scammy "nu-coins!?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: owsleybeatsbigcartel on June 12, 2013, 03:06:03 AM
cut+paste coin =sweet! ;D


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: pixel on June 20, 2013, 05:16:15 PM
Is this the source of all these new altcoins? :P


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on June 21, 2013, 01:38:10 AM
Is this the source of all these new altcoins? :P

Quite a few of them yes, definitely xencoin and 6coin were built off this. 6coin even still had foocoins copyright info in the QT.

https://i.imgur.com/VB5m4oZ.png

Some other coins were built and sold by hazard.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: bananenplukker on August 30, 2013, 09:45:06 AM
Awesome guide, shakezula! But, I'm having a bit of a problem here, under the "first build" section. Github shell doesn't recognize the command "make". I think this problem occurs because of the deps. Your link to the deps doesn't work. Is there another way to get these deps?

Thanks in advance!


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: shakezula on August 30, 2013, 03:33:22 PM
Awesome guide, shakezula! But, I'm having a bit of a problem here, under the "first build" section. Github shell doesn't recognize the command "make". I think this problem occurs because of the deps. Your link to the deps doesn't work. Is there another way to get these deps?

Thanks in advance!

I rolled all my projects in to a single Github, though the foocoin github *should forward you. Here's a direct link:

https://github.com/geocoin/deps


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: bananenplukker on August 30, 2013, 04:01:52 PM
Awesome guide, shakezula! But, I'm having a bit of a problem here, under the "first build" section. Github shell doesn't recognize the command "make". I think this problem occurs because of the deps. Your link to the deps doesn't work. Is there another way to get these deps?

Thanks in advance!

I rolled all my projects in to a single Github, though the foocoin github *should forward you. Here's a direct link:

https://github.com/geocoin/deps
Thanks! I hope I'll be able to compile them now.

Edit: Nope, still errors. Recipe for target obj/checkpoints.o failed. Error 1. Does anyone know a solution to this problem?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Cryddit on August 30, 2013, 05:21:14 PM
Interesting guide.  Thanks to Shakezula. 

Not worth making new coin, unless do something new.  Cut and paste for starting point, but must write code to make new coin worthwhile.  Could try solve problems. 

Biggest problem cryptocurrencies scalability.  When billions use coin, block chain bigger faster than network can carry.  When billions of tx have every machine repeat each tx to check for agree need faster machines than exists.  You have idea to fix scalability, is worth doing altcoin.

Another big problem, cryptocoin anonymity isn't.  Blockchain records every tx.  Information mining, easy trace users through blockchain even with no names associated accounts.  Like able see all money moving around everywhere, becomes obvious who carrying.  Zerocoin has very clever way to solve, but makes scalability problem even worse, 40 kilobyte transaction premium.   Make coin with better anonymity, at least interesting.  Maybe never allowed to succeed, maybe illegal in future.  Interesting, anyway.  Learning how is worth doing.

Third problem, mining.  Convert electricity into coins, wasteful.  Waste keeps money cost up, means no point mining for most people, concentrates mining/chain verification in smaller number of people -- eventually probably one, and currency die.  Also money cost is transaction cost, and cryptocurrency strength in larger economy is minimize transaction cost.  Minimize transaction cost, easy transactions, is main reason for being better than official currency.  Minimize mining cost minimizes tx cost.  Custom ASICs, expensive GPUs, etc. were mistakes.  Bad direction for development.  Figure out way to not need, way to keep chain verification in many hands, be fair everyone, is worth doing. 

Fourth problem, maybe, what happen when mining reward ends?  People mine for money, what happen next time reward is halved?  Time after that?  Time after that?  Never tested.  Don't know.  Will any coin survive end of rewarding miners?  Will few remaining "transaction processers" be enough to keep secure, or will become vulnerable to attack, 51% takeover?  Remember powerful people want cryptocurrency stop.  Make $Billions off transaction fees now, cryptocurrency system would eats business.  What cost doing 51% attack on coin not reward miners by credit card toll troll?  Less than cost not doing it.  Figure out how mining.  Solve this problem and one before, definitely make new coin. 

Fifth problem, speed transaction clearing.  Find way to make instant transfers, not wait for blocks to close and block chain to deepen.  Many kinds of business cannot do otherwise.  Consider vending machine.  Scan QR code, transfer .0005 btc or whatever, then ... wait a half hour?? NO.  Just not work most people.  Fix it, worth doing.  Many altcoins attempt fix by making short block time, but short block time limits number tx per minute or network overwhelmed and chains diverge.  Destroy coin first or second time are too many tx per minute.  Short block times make first problem far worse.  Must find different way to speed tx clearing.  If figure out, very worth making altcoin.

Could also try add new capability.  Many possibilities.  Think of one or two or three, make altcoin with new ideas.

Big one right now, Prism proof email.  You have widely distributed database of public keys (accounts).  If leverage for real private mail from account to account, worth doing an altcoin. 

Another, what calls 'Colored Coins.' Make something take full advantage, keep track colors, definitely worth doing.  Could take advantage script transactions for contingent contracts in different kind assets; could do futures, etc. 

Cut and paste coin, nothing new, is foundation material.  But nobody want move into foundation.  Must build house on top.

Edward.


 


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 04, 2013, 03:21:54 PM
How long roughly should this take to build from start to finish?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: CaptChadd on December 04, 2013, 04:16:28 PM
How long roughly should this take to build from start to finish?

On your first time give yourself a day off and have plenty of breaks and always get the testnet up and running, a lot of developers do not do that.

After a few coins, you should be able to make one and release it within 60 minutes.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 04, 2013, 04:25:48 PM
How long roughly should this take to build from start to finish?

On your first time give yourself a day off and have plenty of breaks and always get the testnet up and running, a lot of developers do not do that.

After a few coins, you should be able to make one and release it within 60 minutes.

Wow thanks, I might have to  give this a go. I have already messed around with some of the previous guides over the last few months but this one looks comprehensive. I want to create a game that uses Cryptocurrency so this might be a good opportunity to create a coin specific to the project.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: CaptChadd on December 04, 2013, 07:33:33 PM
How long roughly should this take to build from start to finish?

On your first time give yourself a day off and have plenty of breaks and always get the testnet up and running, a lot of developers do not do that.

After a few coins, you should be able to make one and release it within 60 minutes.

Wow thanks, I might have to  give this a go. I have already messed around with some of the previous guides over the last few months but this one looks comprehensive. I want to create a game that uses Cryptocurrency so this might be a good opportunity to create a coin specific to the project.

Are you going to compile it under Windows? It is easier than you think once you have the right deps with it.

What I do, is brainstorm the kind of coin I want, it short term and then long term goals and also how you would like others to perceive it. And always keep on top of even the smallest problems and fix it as fast as you can, miners with have loads more faith in a coin if they know it has an active dev team.

As soon as you know the name of the coin, register yourcoin.org and @yourcoin on Twitter and then off you go.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on December 05, 2013, 08:59:59 PM
Further information regarding foocoin (et al.) will be posted here: https://bitcointalk.org/index.php?topic=359000

If you wish to discuss things do so there, I will not be actively monitoring this thread.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 05, 2013, 09:49:20 PM
I am new to Linux and I am having issues with the intial stage of the "first build".

Quote
First Build
Now that you have a fresh copy with all of your cut and pasting uploaded to Github, we're ready to build a copy of our command line only version of the coin:

Code:
 barcoin% cd src/
 barcoin/src% make -f makefile.osx USE_UPNP=- (or makefile.unix if you're on Linux/BSD/etc)

My test coin is called owenprescott, so I am typing in this to the terminal...
Code:
 owenprescott% cd src/
 owenprescott/src% make -f makefile.unix USE_UPNP=-

The terminal returns a "command not found" or "no such file or directory". The root folder is located on my desktop, what am I doing wrong? Obviously I have renamed everything etc, it seems I am not properly targeting the root.  :-[


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on December 05, 2013, 10:30:38 PM
Just to be clear, "owenprescott/src% " isn't part of the command.

If you already knew that, then you need to make sure you have 'make' installed, i'm pretty sure it's part of 'build-essentials' on most distributions.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 05, 2013, 10:54:57 PM
Just to be clear, "owenprescott/src% " isn't part of the command.

If you already knew that, then you need to make sure you have 'make' installed, i'm pretty sure it's part of 'build-essentials' on most distributions.

Oh that makes sense, I already installed the build essentials back when I installed Linux (Ubuntu) and it seems to be installed after performing a "checkinstall". I just tried this code:
Code:
make -f makefile.osx USE_UPNP=-
(all on one CMD line)

It returns, "*** No rule to make target 'markefile.unix'. Stop.". Oh well, I will figure it out eventually.  :D


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on December 05, 2013, 11:56:11 PM
Just to be clear, "owenprescott/src% " isn't part of the command.

If you already knew that, then you need to make sure you have 'make' installed, i'm pretty sure it's part of 'build-essentials' on most distributions.

Oh that makes sense, I already installed the build essentials back when I installed Linux (Ubuntu) and it seems to be installed after performing a "checkinstall". I just tried this code:
Code:
make -f makefile.osx USE_UPNP=-
(all on one CMD line)

It returns, "*** No rule to make target 'markefile.unix'. Stop.". Oh well, I will figure it out eventually.  :D


also, if you're using ubuntu that should be makefile.unix, not .osx.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 06, 2013, 12:08:33 AM
Just to be clear, "owenprescott/src% " isn't part of the command.

If you already knew that, then you need to make sure you have 'make' installed, i'm pretty sure it's part of 'build-essentials' on most distributions.

Oh that makes sense, I already installed the build essentials back when I installed Linux (Ubuntu) and it seems to be installed after performing a "checkinstall". I just tried this code:
Code:
make -f makefile.osx USE_UPNP=-
(all on one CMD line)

It returns, "*** No rule to make target 'markefile.unix'. Stop.". Oh well, I will figure it out eventually.  :D


also, if you're using ubuntu that should be makefile.unix, not .osx.

Woops, the .unix extension is what I have been using lol.

Here is a copy of the terminal if anyone is able to check it out textuploader.com/1syy (http://textuploader.com/1syy), perhaps I can find some videos on YouTube. Sorry for bumping this thread with my issues its just very frustrating getting stuck at this point.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: The_Catman on December 06, 2013, 01:05:52 AM
Woops, the .unix extension is what I have been using lol.

Here is a copy of the terminal if anyone is able to check it out textuploader.com/1syy (http://textuploader.com/1syy), perhaps I can find some videos on YouTube. Sorry for bumping this thread with my issues its just very frustrating getting stuck at this point.

You don't appear to be in the src directory of any coin, you need to cd into that directory before you can make it. if you type 'll' you should get a list of all directories in your home and one will probably stick out as the coin, you'll need to 'cd coinname/src' before running the make command.

If it's not there you've probably messed something up pretty bad and should try again from the beginning.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: uMMcQxCWELNzkt on December 06, 2013, 02:43:13 AM
Woops, the .unix extension is what I have been using lol.

Here is a copy of the terminal if anyone is able to check it out textuploader.com/1syy (http://textuploader.com/1syy), perhaps I can find some videos on YouTube. Sorry for bumping this thread with my issues its just very frustrating getting stuck at this point.

You don't appear to be in the src directory of any coin, you need to cd into that directory before you can make it. if you type 'll' you should get a list of all directories in your home and one will probably stick out as the coin, you'll need to 'cd coinname/src' before running the make command.

If it's not there you've probably messed something up pretty bad and should try again from the beginning.

Oh I just opened the terminal from the menu, I will try it out tomorrow. I'm curious how I might integrate the coin into my game. :D


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: epixam on December 15, 2013, 02:30:07 AM
I've been looking through the Litecoin source code, and I am interested in possibly creating an alt-coin, but I wouldn't want it to be a cookie cutter coin.

I have a few ideas for implementation that would involve changes to the block-chain database information as well as changes to the data sent and received from miners for security and anonymity purposes. My biggest problem at this point is the fact that the documentation is not well commented, and it's a bit tough to follow. (also I have not actively coded in C++ in 5+ year)

Does anyone have a good reference with detailed explanations or is there a different crypto that has better documented source code?  At this rate it will take me quite a bit of time to just identify the areas that will need to be modified.

Any advice would be greatly appreciated.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: TribalBob on December 15, 2013, 02:36:19 AM
I've been looking through the Litecoin source code, and I am interested in possibly creating an alt-coin, but I wouldn't want it to be a cookie cutter coin.

I have a few ideas for implementation that would involve changes to the block-chain database information as well as changes to the data sent and received from miners for security and anonymity purposes. My biggest problem at this point is the fact that the documentation is not well commented, and it's a bit tough to follow. (also I have not actively coded in C++ in 5+ year)

Does anyone have a good reference with detailed explanations or is there a different crypto that has better documented source code?  At this rate it will take me quite a bit of time to just identify the areas that will need to be modified.

Any advice would be greatly appreciated.

This guide tells you exactly what to change and where to change it right down to the filename and line number... Not sure what it is you are looking for...


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: epixam on December 15, 2013, 03:16:36 AM
I've been looking through the Litecoin source code, and I am interested in possibly creating an alt-coin, but I wouldn't want it to be a cookie cutter coin.

I have a few ideas for implementation that would involve changes to the block-chain database information as well as changes to the data sent and received from miners for security and anonymity purposes. My biggest problem at this point is the fact that the documentation is not well commented, and it's a bit tough to follow. (also I have not actively coded in C++ in 5+ year)

Does anyone have a good reference with detailed explanations or is there a different crypto that has better documented source code?  At this rate it will take me quite a bit of time to just identify the areas that will need to be modified.

Any advice would be greatly appreciated.

This guide tells you exactly what to change and where to change it right down to the filename and line number... Not sure what it is you are looking for...

The guide gives good detailed information about changing information like block generation times, total number of coins and generating a more or less "cookie cutter" crypto currency based on the scrypt algorithm.  What I'm thinking of doing is altering the block-chain database with addition information, changing the way coins are distributed, changing the algorithms for mining as well as how mining is done, and removing the hard cap on total coins and replacing it with some small form of adjusted inflation.  

EDIT:  With the help of cinnamon_carter, I have figured out how/where to adjust block reward for inflation.  For anyone check out "int64 static GetBlockValue(int nHeight, int64 nFees)" of main.cpp. I have not yet determined if it will conflict with anything else.

What I intend to do is quite invasive in comparison to what this guide explains.  I was hoping to cut down on research time by having a discussion with someone who has done extensive work modifying the source code.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: igl00 on December 20, 2013, 05:01:29 AM
really nice thread


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: scrypty on December 25, 2013, 02:37:04 PM
Thanks shakezula
This is a truly awesome guide and a wonderful contribution to the cryptocoin community - excited to read through it and try some test run implementations.

Love your work! You are a rockstar, sir!


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Bram on December 25, 2013, 02:44:05 PM
If you think the number of new coins coming out now is bad, wait a week or two.
Going to be a mad house.


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Wilhelm on December 25, 2013, 02:51:30 PM
CopyPasteCoin  ;D


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Bram on December 26, 2013, 08:29:34 AM
I followed the steps, but got stuck in the end.
When starting the demons to connect to the other computer, I keep getting "could not connect to server" and it errors out.

These are two VM's with their own distinct IP addresses.

What am I missing?

Thanks in advance


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: scrypty on December 26, 2013, 01:17:50 PM
Hi shakezula
I can't find the github foocoin repository.
https://github.com/foocoin/foocoin

What should we use instead, or where can we find it?

Brain gears turning slowly - I'm guessing we just use barcoin. Could somebody confirm the obvious for me..... and for others just as slow.

 ::)


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: Cryddit on December 26, 2013, 05:22:53 PM

The nice thing about this guide is that it's applicable to nearly any bitcoin-descended cryptocurrency source code.  You don't need the foocoin or barcoin or even Litecoin sources to start with this.  The line numbers won't match, but the features involved in the files you need to edit are the same across a wide variety of sources.  You can download the Bitcoin sources directly to get a known quantity with all the latest bugfixes, or the MEC sources to get some cool extensions, or the Doge sources for ... um, sorry.  I guess there's no reason to do that after all. 





Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: boredbash on December 28, 2013, 02:08:57 AM
I followed the steps, but got stuck in the end.
When starting the demons to connect to the other computer, I keep getting "could not connect to server" and it errors out.

These are two VM's with their own distinct IP addresses.

What am I missing?

Thanks in advance

Dude I'm stuck on the same thing!

Can the OP help out with this part?


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: boredbash on December 28, 2013, 02:52:28 AM
Hi shakezula
I can't find the github foocoin repository.
https://github.com/foocoin/foocoin

What should we use instead, or where can we find it?

Brain gears turning slowly - I'm guessing we just use barcoin. Could somebody confirm the obvious for me..... and for others just as slow.

 ::)

Hey dude try https://github.com/bfroemel/smallchange‎.

It follows the structure of foo closely.

gl


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: PowerLemons on January 04, 2014, 12:28:02 AM
Hey dude try https://github.com/bfroemel/smallchange‎.

It follows the structure of foo closely.

gl
"Page Not Found"
 :-[


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: hashtagcoin on January 09, 2014, 01:15:08 PM
Hey dude try https://github.com/bfroemel/smallchange‎.

It follows the structure of foo closely.

gl
"Page Not Found"
 :-[

try this https://github.com/bfroemel/smallchange


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: NurMasdar on February 06, 2014, 12:53:10 PM
Im a little confused here (no complaints though, really thank you for the guide!). It appears that the guide basically shows you how to re-brand litecoin or any other scrypt based coin, not create changes to the coin on top of that (amount of coins, difficulty, etc.). Is this right or am i missing somthing? Thanks again for the guide!

Coins per block, ports, block retarget time, and max coins ever are in there too, check the "Cut and Paste" section.

Otherwise, yes, I've just made it easier (with the changes to the foocoin makefiles and qt.pro file) to compile, and laid it all out in black and white.

Hi guys,

First of all Shakezula, thanks a lot for such good explanation and guide.

I followed all steps in the guide, however I am loosing the main point, thus I am unable to connect machines to start mining. As I read this forum some people also do not understanding this.
Can you please be so kind and explain what I am doing incorrectly. I am struggling with this and really looking forward to understand.


What I do not understand port forwarding:
" Side note: because I use a VPS for this, I don't really need to worry about port forwarding at that end. On the home PC, you will want to forward the port you chose for P2Pport in the cut and paste section to the PC you're using. For this example, that is port 55884. "
What does it mean?  Does it mean that I should add this port in .conf file of the machines? Please explain me.

My case:
1. I am trying to connect compiled coins on two VM machines: VM1 with ip 192.168.122.121 & VM2 with ip 192.168.122.158 (they are able to ping each other).
2. In my conf files I only put rpc username/password.
3. On VM1 I do ./barcoin -testnet -connect=192.168.122.158 &
On VM2 I do ./barcoin -testnet -connect=192.168.122.121 &
4. In .barcoin/testnet3/debug.log i get following:

ThreadSocketHandler started
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
Flushed 0 addresses to peers.dat 42ms
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused


I added this port 55884 to conf file of one of the machines and getting the same error.
Then I added command connect=192.168.122.121:55884 to one of the conf files and started getting this:

trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused

Please help me with this one.
Thank you very much!


Title: Re: [ANN] 'foo' and 'bar' coins--a "how-to" guide for cut+paste cryptocurrency
Post by: esmadja on February 13, 2014, 03:55:51 AM
Im a little confused here (no complaints though, really thank you for the guide!). It appears that the guide basically shows you how to re-brand litecoin or any other scrypt based coin, not create changes to the coin on top of that (amount of coins, difficulty, etc.). Is this right or am i missing somthing? Thanks again for the guide!

Coins per block, ports, block retarget time, and max coins ever are in there too, check the "Cut and Paste" section.

Otherwise, yes, I've just made it easier (with the changes to the foocoin makefiles and qt.pro file) to compile, and laid it all out in black and white.

Hi guys,

First of all Shakezula, thanks a lot for such good explanation and guide.

I followed all steps in the guide, however I am loosing the main point, thus I am unable to connect machines to start mining. As I read this forum some people also do not understanding this.
Can you please be so kind and explain what I am doing incorrectly. I am struggling with this and really looking forward to understand.


What I do not understand port forwarding:
" Side note: because I use a VPS for this, I don't really need to worry about port forwarding at that end. On the home PC, you will want to forward the port you chose for P2Pport in the cut and paste section to the PC you're using. For this example, that is port 55884. "
What does it mean?  Does it mean that I should add this port in .conf file of the machines? Please explain me.

My case:
1. I am trying to connect compiled coins on two VM machines: VM1 with ip 192.168.122.121 & VM2 with ip 192.168.122.158 (they are able to ping each other).
2. In my conf files I only put rpc username/password.
3. On VM1 I do ./barcoin -testnet -connect=192.168.122.158 &
On VM2 I do ./barcoin -testnet -connect=192.168.122.121 &
4. In .barcoin/testnet3/debug.log i get following:

ThreadSocketHandler started
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
Flushed 0 addresses to peers.dat 42ms
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs
connect() failed after select(): Connection refused


I added this port 55884 to conf file of one of the machines and getting the same error.
Then I added command connect=192.168.122.121:55884 to one of the conf files and started getting this:

trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121:55884 lastseen=0.0hrs connect() failed after select(): Connection refused
trying connection 192.168.122.121 lastseen=0.0hrs connect() failed after select(): Connection refused

Please help me with this one.
Thank you very much!

I have the same problem.  I am using VMware to host each instance.  I can http from machine A to machine B but and vis versa but when I try to ./barcond -test -connect=x.x.x.x it fails to connect there is nothing in the log of the remote machine so I don't even think the connection is attempted.