Friday, October 26, 2018

Trouble with Mining Helper

A visual guide to opening ports to mine using Bitcoin 1776 software

https://imgur.com/a/gQqtpyw


This won't be a long (or sufficient tutorial) because this can become complex. The current BROADCAST block is 530515. However, an at home user has mined a PRIVATE block of 530517. In order for this to be accepted by the main chain, they must 'broadcast' their block.

This is easiest to do using a VPN type of service. One solution is:

https://www.supremevps.com/

And get their cheapest VPN offering 2 CPS / 2 RAM, and then manually request an upgrade to add 200 GB of storage.

Another option is:

https://zeronehosting.com/

They are a data hosting VPN service (by default) but their computers are so slow it will be challenging to mine, even at this very low setting.

Either option will run about $360 / year or $30 a month. The advantage of Supre is that they use Solid State Drives, which sync in about 2 days. Zerone uses Hard Disk Drives, which sync in about 2 weeks. Either option will work for hosting a full node, but only the first option will be reliable to mine with, which mines a block about every 2 hours (if you are diligent).

You can also mine from your Home Computer, but this is more challenging as you MUST open up port 6703. With a "Windows Server" machine, this is fairly simple but requires the added step of Configuring the firewall to permit Bitcoin 1776 connections to go in and out.

To check if your port is open, you can try:

http://ismyportopen.com/

Or

https://bitnodes.earn.com/

(not sure if this will work past the point of the fork)

This is the difference between a Listening Node and a Broadcast node. A listening node can be a full node, but will never transmit block data out. It only receives blocks in. It is unsearchable, unconnected to the network, beyond the IP addresses it manually enters (or is added to it via software, seed nodes). A broadcast node IS searchable, and every other node can connect to it. If you are doing this from your home computer, this can create the 'attack vector' of getting dos'd as your IP address is exposed. This is a remote risk, and not one I'd worry about, but something to be aware of. If you use a VPN service, it's not a problem.

You must run a full node to mine blocks.

Personally, I have not been successful (or maybe just barely after much trial) in opening up my home ports. However, there are two basic steps:

Configure Windows Firewall to allow Bitcoin 1776 to get in and out.

Configure your Router / Modem to allow Bitcoin 1776 or Port 6703 to be open and connected to the internet. This is typically referred to as "Port Forwarding" but sometimes "DMZ".

However, you can have other firewall type software, your ISP could block it, or something could go wrong and diagnosing the problem can become challenging.

OK, so if you have mined Bitcoin 1776 blocks and do NOT want to become de'synced from the network, you MUST broadcast those blocks to the network. If the network mines more blocks which are broadcast, then your blocks will become invalid. I will hold off on personal mining until Sunday or Monday to allow time for the private miner to attempt to open up their ports (obviously I can't prevent others from mining, but this may be a low risk).

If you become desyned from the network you can either wait until the network passes your blocks, in which your blocks will become orphaned (and you will not receive credit), or you can use the "invalidate" command to reset your blockchain to some specific point. As we currently do not have a public block explorer, this may become challenging, however you can easily invalidate up to the forked point, and then resync the last 15 blocks or so within minutes, once properly connected (sometimes this take several attempts, invalidating, revalidating, etc - but is a relatively fast process and can be accomplished within an hour or two).

How to resolve becoming desynced:

https://www.reddit.com/r/Bitcoin1776/comments/9bkybf/bitcoin_1776_software_ready_to_mine/e7431u6/

I will add some more tutorial language, but this should be enough to give you a starting point for diagnosing problems. Thank you,

Bitcoin 1776 Team

How to open up your ports (with a Windows Server computer this is easy, harder for a Personal Windows, home use machine):

https://www.wikihow.com/Open-Ports

Imgur Album

https://imgur.com/a/gQqtpyw



No comments:

Post a Comment