ruimarinho / docker-bitcoin-core

A bitcoin-core docker image
https://hub.docker.com/r/ruimarinho/bitcoin-core/
MIT License
369 stars 208 forks source link

update to version 0.21.0 #111

Closed aphex3k closed 3 years ago

aphex3k commented 3 years ago

@ruimarinho It fails logging in to docker hub...

I can not create a PR from within this repo since I'm not a contributor (yet?)

keblek commented 3 years ago

does this expose the port for signet?

aphex3k commented 3 years ago

does this expose the port for signet?

Not sure about signet, but you can see the exposed ports in the Dockerfile: EXPOSE 8332 8333 18332 18333 18443 18444

keblek commented 3 years ago

Default Bitcoin network protocol listen port is 38333 (instead of 8333) Default RPC connection port is 38332 (instead of 8332)

https://en.bitcoin.it/wiki/Signet

add this to the readme as well?

keblek commented 3 years ago

% docker exec --user bitcoin kind_lehmann bitcoin-cli -signet getmininginfo { "blocks": 24210, "difficulty": 0.002901660475040805, "networkhashps": 23188.24385728437, "pooledtx": 0, "chain": "signet", "warnings": "" }

works for me

ruimarinho commented 3 years ago

Landed in https://github.com/ruimarinho/docker-bitcoin-core/commit/e1455ce7d6f9f2842061b980d9c516b9a6d19dae, thank you @aphex3k.

EXPOSE is purely cosmetic. You can map any port you want from the container.