dashpay/dashcore-node

main, test, and regtest default ports?

Opened this issue · 2 comments

I've been scouring the interwebs and I can't find what the default ports are for Dash.

Can someone fill in the blanks for me?

[main]
bind=127.0.0.1:9999
rpcbind=127.0.0.1:9998
zmqpubrawtx=tcp://127.0.0.1:28332
zmqpubrawtxlock=tcp://127.0.0.1:28332

[test]
bind=127.0.0.1:19999
rpcbind=127.0.0.1:19998
zmqpubrawtx=tcp://127.0.0.1:?????      ???
zmqpubrawtxlock=tcp://127.0.0.1:?????  ???

[regtest]
bind=127.0.0.1:19899
rpcbind=127.0.0.1:19898
zmqpubrawtx=tcp://127.0.0.1:?????      ???
zmqpubrawtxlock=tcp://127.0.0.1:?????  ???

Also, I think there are some typos here:
https://docs.dash.org/projects/core/en/stable/docs/examples/receiving-zmq-notifications.html

Looks like maybe this was copy-pasta from B.

All other documentation says Dash zeromq port should be 28332.
Only this document uses 20009.

I did find some documentation for another coin referencing 18009 for testnet.