Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Oct 20, 2023. It is now read-only.

Starting Pool BCH #1699

jephersonmorais started this conversation in General
Discussion options

I'm having some difficulties running the pool with BCH:

Should I use the "Legacy Address Format" or "Cash address format" wallet?

I'm using BitCoin Cash Node V 26. Is it compatible or does it need to be a specific version?

I did some tests and the most I got was this error:

[2023年06月13日 11:39:20.5567] [I] [bch] Stratum ports 192.168.1.152:3032, 192.168.3.89:3002 online
[2023年06月13日 11:39:20.5667] [E] [bch] System.Net.Sockets.SocketException: Cannot assign requested address System.Net.Sockets.SocketException (99): Cannot assign requested address
at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName)
at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Bind(EndPoint localEP)
at Miningcore.Stratum.StratumServer.<>c__DisplayClass14_0.b__1(StratumEndpoint port) in /home/jepherson/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 99
at System.Linq.Enumerable.SelectArrayIterator2.ToArray() at Miningcore.Stratum.StratumServer.RunAsync(CancellationToken ct, StratumEndpoint[] endpoints) in /home/jepherson/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 95 at Miningcore.Mining.PoolBase.RunStratum(CancellationToken ct) in /home/jepherson/miningcore/src/Miningcore/Mining/PoolBase.cs:line 314 at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/jepherson/miningcore/src/Miningcore/Mining/PoolBase.cs:line 400 at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, String callerName) at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Miningcore.Stratum.StratumServer.<>c__DisplayClass14_0.<RunAsync>b__1(StratumEndpoint port) in /home/jepherson/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 99 at System.Linq.Enumerable.SelectArrayIterator2.ToArray()
at Miningcore.Stratum.StratumServer.RunAsync(CancellationToken ct, StratumEndpoint[] endpoints) in /home/jepherson/miningcore/src/Miningcore/Stratum/StratumServer.cs:line 95
at Miningcore.Mining.PoolBase.RunStratum(CancellationToken ct) in /home/jepherson/miningcore/src/Miningcore/Mining/PoolBase.cs:line 314
at Miningcore.Mining.PoolBase.RunAsync(CancellationToken ct) in /home/jepherson/miningcore/src/Miningcore/Mining/PoolBase.cs:line 400
[2023年06月13日 11:39:20.5908] [I] [Lifetime] Application is shutting down

You must be logged in to vote

Replies: 1 comment

Comment options

System.Net.Sockets.SocketException: Cannot assign requested address

this is about miningcore trying and failing at setting up a listening socket at the configured address. it is not related to the crypto coin address, but to answer your question you'll want to use legacy address for BCH. but it doesn't look like the source of your error, maybe an IP address or port conflict of some kind in your config.json listenAddress

you seem to have 2 different ip addresses configured
192.168.1.152:3032
192.168.3.89:3002

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /