Coder Social home page Coder Social logo

bitcoin-core's Introduction

Bitcoin Core

An unopinionated docker image of bitcoin-core (bitcoind).

Usage

Simply use it the way you would use the bitcoind binary. All arguments are passed through to bitcoind.

For example:

docker run ghcr.io/coblox/bitcoin-core:latest -regtest

Bitcoin-CLI

The image also has bitcoin-cli installed. It is considered best practise to use the default ports of services inside docker containers. If you adhere to that, it is very easy to use bitcoin-cli with this image. Given a running container simple exec a shell into it:

docker exec -it CONTAINER_HASH /bin/sh

Depending on whether you started your container with -regtest, -testnet or -mainnet, simply pass this flag to bitcoin-cli as well and you are good to go. For example, given you started the container like this:

docker run -d ghcr.io/coblox/bitcoin-core:latest -regtest

Simply exec into the container:

docker exec -it CONTAINER_HASH /bin/sh

And use bitcoin-cli:

bitcoin-cli -regtest getblockchaininfo

bitcoin-core's People

Contributors

bonomat avatar d4nte avatar da-kami avatar darren-rose avatar thomaseizinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bitcoin-core's Issues

Add native ZMQ support without depending on another docker image

#2 adds ZMQ support by depending on a different docker image that compiles bitcoind from scratch.

I think it would be good if we can depend on alpine linux only and install bitcoind from the repositories there. However, that one does currently not have ZMQ support.

ZMQ Support + minor improvements

Summary
create a new coblox/bitcoin-core docker images that:

  • compiles with zmq
  • makes bitcoin-cli ready to connect out of the box
    • copy the rpcport parameter in bitcoin.conf
    • copy the ~/.bitcoin/regtest/.cookie to ~/.bitcoin if regtest is activated
  • Update to bitcoin 0.17.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.