Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: imalice on November 04, 2023, 04:08:40 PM



Title: About connecting node to hard-forked private network
Post by: imalice on November 04, 2023, 04:08:40 PM
Hello, everybody I have some questions. ??? ???

I want to connect bitcoind to a local network that hard-forked Bitcoin.
All peer's Bitcoin-related ports are blocked from external access. (e.g. 8333, 8332)
Is there a good way to run the node in this state?

ps) The ElectrumX server is configured and it is accessible and nomp (node-open-mining-portal) is also accessible

Thanks to all


Title: Re: About connecting node to hard-forked private network
Post by: BitMaxz on November 05, 2023, 01:49:09 AM
What exactly do you want to achieve? Since you mentioned "hard forked of Bitcoin" are you planning to fork Bitcoin and create an altcoin or do you just want your node accessible to the local network?

If you want to access your node locally and bitcoind to accept JSON-RPC commands locally then you will need to configure your Bitcoin.conf file.

Sample bitcoin config

Code:
server=1
daemon=1
txindex=1
disablewallet=1

rpcuser=***
rpcpassword=***
rpcbind=0.0.0.0
rpcport=8332
rpcallowip=192.168.230.0/255.255.255.0

Read more from this link below to configure the network.

- https://github.com/ElementsProject/elements/blob/master/share/examples/bitcoin.conf


If this is for educational purposes better enable testnet.


Title: Re: About connecting node to hard-forked private network
Post by: imalice on November 05, 2023, 04:20:20 AM
There is private chain with nodes which are reachable only by the founders at the moment.

But I’m looking for ways to start mining now cuz the mining cost is very low now.

Is there a way to start mining in this case?


Title: Re: About connecting node to hard-forked private network
Post by: seek3r on November 05, 2023, 01:22:27 PM
There is private chain with nodes which are reachable only by the founders at the moment.

But I’m looking for ways to start mining now cuz the mining cost is very low now.

Is there a way to start mining in this case?

You would need to obtain permission and the necessary credentials from the founders to access the private chain. This may include VPN access, SSH keys, or other authentication methods depending on the network setup.
Without that infos you shouldn't get your hopes up too high as things like the standard ports (8333) are blocked for a reason.



Title: Re: About connecting node to hard-forked private network
Post by: DifDrama on November 06, 2023, 06:56:36 AM
There is private chain with nodes which are reachable only by the founders at the moment.

But I’m looking for ways to start mining now cuz the mining cost is very low now.

Is there a way to start mining in this case?

You need to communicate with the founders or administrators of the private blockchain network and work within the rules and permissions they have set. Or,  if you can become a node operator within the private blockchain network, you may have the ability to participate in the consensus process and mine blocks. 


Title: Re: About connecting node to hard-forked private network
Post by: NotATether on November 07, 2023, 09:27:50 AM
If the hardfork has changed the protocol's network data in a way that is incompatible with the one Bitcoin Core generates (and receives), then all interactions from such a network with the client will fail. That's why it's called a "hard fork".

You should ask the coin developers how to connect to such a network.