Skip to content

Instantly share code, notes, and snippets.

Avatar

Stéphane Traumat straumat

View GitHub Profile
View docker-compose-blockchain2graph-bitcoin-neo4j.yml
version: '2'
services:
# ====================================================================================================================
# https://hub.docker.com/r/ruimarinho/bitcoin-core/
bitcoin-core:
image: ruimarinho/bitcoin-core:0.18.1
volumes:
- ./data/bitcoin-core:/home/bitcoin/.bitcoin
ports:
- 8332:8332
View blockchain2graph-bitcoin-neo4j.service
[Unit]
Description=Blockchain2graph-bitcoin-neo4j
After=syslog.target
[Service]
Environment="SPRING_DATA_NEO4J_URI=bolt://neo4j:b2g135!@localhost"
Environment="BITCOINCORE_HOSTNAME=5.196.65.205"
Environment="BITCOINCORE_PORT=8332"
Environment="BITCOINCORE_USERNAME=bitcoinrpc"
Environment="BITCOINCORE_PASSWORD=JRkDy3tgCYdmCEqY1VdfdfhTswiRva"
@straumat
straumat / application.properties
Last active Jun 16, 2017
Blockchain2graph - applications.properties
View application.properties
# Blockchain2graph.
#
# blockchain2graph configuration.
blockchain2graph.address=5.196.65.205
blockchain2graph.port=8080
blockchain2graph.date.format=HH:mm
#
# Bitcoind access configuration.
bitcoind.hostname=5.196.65.205
bitcoind.port=8332
View bitcoin.conf
rpcauth=bitcoinrpc:2c36ebb190eba7bb00df12ddda7b5115$f1a1d565e8d6aad38b6c31d4c2d922b7f180b020b83fdf4e7fe77bd825fb6607
# Use this instead of rpcauth for server < 0.18
# rpcuser=bitcoinrpc
# rpcpassword=JRkDy3tgCYdmCEqY1VdfdfhTswiRva
server=1
rest=1
txindex=1
rpcthreads=8
rpcbind=127.0.0.1
rpcbind=5.196.65.205
@straumat
straumat / bitcoind
Last active May 21, 2020
Bitcoind debian startup script
View bitcoind
#! /bin/sh
### BEGIN INIT INFO
# Provides: bitcoind
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: bitcoind daemon startup script
# Description: bitcoind daemon startup script
### END INIT INFO