Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: RichardCMongler on May 31, 2014, 07:26:45 PM



Title: Please help! (developing an altcoin)
Post by: RichardCMongler on May 31, 2014, 07:26:45 PM
Hi, I'm creating a new cryptocurrency - mostly to learn from it. My friend and I have Windows PCs with VirtualBox installed on them. I created Ubuntu 14.04 VMs on both PCs and got to work developing the new coin. I've been following shakezula's guide and I'm at the point where I need to connect 2 computers together to start mining on the testnet. Everything up to this point has worked perfectly. However, when I try to connect and then run "./mycoind -testnet -<other person's VM IP> &", nothing happens. When I try "./mycoind getinfo" it says 0 connections. What could be causing this?


Title: Re: Please help! (developing an altcoin)
Post by: RichardCMongler on May 31, 2014, 09:54:48 PM
bumpity

If anyone could help, I would really appreciate it.


Title: Re: Please help! (developing an altcoin)
Post by: Willisius on May 31, 2014, 09:56:38 PM
Have you tried "./mycoind -testnet -connect=OTHER_MACHINES_IP &"?


Title: Re: Please help! (developing an altcoin)
Post by: RichardCMongler on May 31, 2014, 10:03:02 PM
Have you tried "./mycoind -testnet -connect=OTHER_MACHINES_IP &"?

It's the same IP for the machine and the VM. So I guess yes and no?


Title: Re: Please help! (developing an altcoin)
Post by: marine4u on May 31, 2014, 10:15:40 PM
try to connect without testnet


Title: Re: Please help! (developing an altcoin)
Post by: RichardCMongler on May 31, 2014, 10:59:23 PM
try to connect without testnet
I get "couldn't connect to server"


Title: Re: Please help! (developing an altcoin)
Post by: marine4u on June 01, 2014, 05:01:54 AM
choose any coin wallet with testnet function still working, some coins don't bother with it, enabled download their wallets see if they connect to each other on testnet on the exact same machine and VM.
 
however they may not connect to each other on normal mode on the same sub IP tree because of security, for real coins use test net

try to set ip table on the router connecting to regular 192.168.1.1 type classic number tree


Title: Re: Please help! (developing an altcoin)
Post by: YarkoL on June 01, 2014, 11:39:47 PM

It's the same IP for the machine and the VM. So I guess yes and no?

It shouldn't be. Check your VM Settings->Network and
that it is using bridged adapter.

If you were on linux box you'd hit ifconfig and see what the inet addr is.
Since you use windows that would be ipconfig and look for something like 192.168.1.x
Put that on your command line or .conf file after -connect



Title: Re: Please help! (developing an altcoin)
Post by: markm on June 02, 2014, 02:18:22 AM
If you have not heard of such a thing as a firewall maybe looking up how they work could help?

Sorry if imagining you don't know all about firewalls and have yours all set up right seems insulting but over the decades I have noticed that not all users of Windows really have much system-admistration knowledge...

-MarkM-


Title: Re: Please help! (developing an altcoin)
Post by: RichardCMongler on June 03, 2014, 07:31:21 PM
router firewall and Windows firewall were both disabled. ICMP responses were enabled through the router. I attempted port forwarding and DMZ mode (on separate occasions) but nothing worked.


Title: Re: Please help! (developing an altcoin)
Post by: RichardCMongler on June 09, 2014, 07:47:29 PM
Never mind I was just being an idiot and Windows Firewall was blocking it...