Bitcoin Forum
May 07, 2024, 05:47:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 0 Active Connections On The Network  (Read 182 times)
ripplexn8 (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
April 02, 2018, 04:51:08 PM
 #1

Hello all,

Trying to build my own LiteCoin fork for educational purposes.

I've made it as far as compiling the wallets in Ubuntu.

The problem I'm having is that there isn't any active connections on my network.

I'm following this tutorial
Code:
https://www.youtube.com/watch?v=nfE-SYJ7PrQ


This is the main VM

This is the VM I put in server mode

As you can see I added the IP as a node, still ain't getting any connections



Any help would be greatly appreciated
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715104054
Hero Member
*
Offline Offline

Posts: 1715104054

View Profile Personal Message (Offline)

Ignore
1715104054
Reply with quote  #2

1715104054
Report to moderator
1715104054
Hero Member
*
Offline Offline

Posts: 1715104054

View Profile Personal Message (Offline)

Ignore
1715104054
Reply with quote  #2

1715104054
Report to moderator
1715104054
Hero Member
*
Offline Offline

Posts: 1715104054

View Profile Personal Message (Offline)

Ignore
1715104054
Reply with quote  #2

1715104054
Report to moderator
starmyc
Full Member
***
Offline Offline

Activity: 198
Merit: 130

Some random software engineer


View Profile
April 02, 2018, 05:32:03 PM
 #2

Hello all,

Trying to build my own LiteCoin fork for educational purposes.

I've made it as far as compiling the wallets in Ubuntu.

The problem I'm having is that there isn't any active connections on my network.

Hello.

You'll need 2 wallet/daemon to make it work.

The trick is to launch a 2nd wallet or daemon, using a different -datadir= and making sure it doesn't try to listen (I won't be able to) and to connect to the other instance (using -connect):

Code:
# First instance
$ ./QuickCash-qt -testnet

# 2nd instance, in another terminal if needed
$ mkdir instance_2 ; ./QuickCash-qt -testnet -datadir=instance_2 -listen=0 -connect=localhost

You'll be able to mine new blocks, and the "out of sync" stuff will disappear once a new block is mined.


Hi, I'm just some random software engineer.
You can check my projects: Bitcoin & altcoin balances/addresses listing dumps: https://balances.crypto-nerdz.org/
ripplexn8 (OP)
Member
**
Offline Offline

Activity: 74
Merit: 10


View Profile
April 02, 2018, 06:33:12 PM
 #3

Hello all,

Trying to build my own LiteCoin fork for educational purposes.

I've made it as far as compiling the wallets in Ubuntu.

The problem I'm having is that there isn't any active connections on my network.

Hello.

You'll need 2 wallet/daemon to make it work.

The trick is to launch a 2nd wallet or daemon, using a different -datadir= and making sure it doesn't try to listen (I won't be able to) and to connect to the other instance (using -connect):

Code:
# First instance
$ ./QuickCash-qt -testnet

# 2nd instance, in another terminal if needed
$ mkdir instance_2 ; ./QuickCash-qt -testnet -datadir=instance_2 -listen=0 -connect=localhost

You'll be able to mine new blocks, and the "out of sync" stuff will disappear once a new block is mined.



Thank you so much for the help I really appreciate it!
Raveg
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
April 03, 2018, 01:48:32 AM
 #4


You can deploy few VPS with linux daemon and add to your coin.conf file on both VPS and your wallet:

Code:
daemon=1
server=1
addnode=VPS1_IP
addnode=VPS2_IP
Pages: [1]
  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!