Add docker fragment for opt-txindex to enable txindex=1 (#178)

* Add docker fragment for opt-txindex to enable txindex=1

* Document opt-txindex in README

* Throw error if both opt-txindex and opt-save-storage-* are enabled
This commit is contained in:
wiz
2019-08-06 17:15:43 +09:00
committed by Nicolas Dorier
parent ab0d869344
commit 23bf0ea4bf
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
version: "3"
# must not use opt-save-storage
services:
bitcoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
bgoldd:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
feathercoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
groestlcoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
litecoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
viacoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1
monacoind:
environment:
BITCOIN_EXTRA_ARGS: |
txindex=1