pinheadmz / bcoin-guide

11 stars 6 forks source link

Fixed an error in the command #8

Closed IMPranshu closed 2 years ago

IMPranshu commented 2 years ago

image Fixed this error

IMPranshu commented 2 years ago

image Running successfully when removed the -2 from the regtest.

pinheadmz commented 2 years ago

I don't see an error in your first screenshot. Not being able to connect to some peers is not critical. What's actually happening with the prefix option is we are creating a SECOND bcoin instance with a SECOND data directory. By removing the -2 you are trying to start a second bcoin node with the same data directory as the first. This should fail if the first node is already running.

IMPranshu commented 2 years ago

I don't see an error in your first screenshot. Not being able to connect to some peers is not critical. What's actually happening with the prefix option is we are creating a SECOND bcoin instance with a SECOND data directory. By removing the -2 you are trying to start a second bcoin node with the same data directory as the first. This should fail if the first node is already running.

Yes sorry I realized this after going through the docs. This PR is not useful so closing it