forked from Start9Labs/bitcoind-startos
-
Notifications
You must be signed in to change notification settings - Fork 1
/
manifest.yaml
175 lines (175 loc) · 5.13 KB
/
manifest.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
id: bitcoind
title: "Bitcoin Core"
version: 26.0.0
eos-version: 0.3.4.3
release-notes: |
* Latest release from Core - see full release notes [here](https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-26.0.md)
* Added support for v2 transport protocol (BIP 324)
* Update services base image to alpine 3.18
* Minor readme and instructions update
license: MIT
wrapper-repo: https://github.com/Start9Labs/bitcoind-wrapper
upstream-repo: https://github.com/bitcoin/bitcoin
support-site: https://github.com/bitcoin/bitcoin/issues
marketing-site: https://bitcoincore.org/
build: ["make"]
description:
short: A Bitcoin Full Node by Bitcoin Core
long: Bitcoin is an innovative payment network and a new kind of money. Bitcoin uses peer-to-peer technology to operate with no central authority or banks; managing transactions and the issuing of bitcoins is carried out collectively by the network. Bitcoin is open-source; its design is public, nobody owns or controls Bitcoin and everyone can take part. Through many of its unique properties, Bitcoin allows exciting uses that could not be covered by any previous payment system.
assets:
license: LICENSE
icon: icon.png
instructions: instructions.md
main:
type: docker
image: main
entrypoint: "docker_entrypoint.sh"
args: []
mounts:
main: /root/.bitcoin
compat: /mnt/assets
sigterm-timeout: 5m
health-checks:
rpc:
name: RPC
success-message: The RPC server is ready for connections
type: docker
image: main
system: false
entrypoint: check-rpc.sh
args: []
mounts: {}
io-format: yaml
inject: true
synced:
name: Synced
success-message: Bitcoin Core is synced with the network
type: docker
image: main
system: false
entrypoint: check-synced.sh
args: []
mounts: {}
io-format: yaml
inject: true
config:
get:
type: script
set:
type: script
properties:
type: script
volumes:
main:
type: data
compat:
type: assets
alerts:
uninstall: Uninstalling Bitcoin Core will result in permanent loss of data. Without a backup, any funds stored on your node's default hot wallet will be lost forever. If you are unsure, we recommend making a backup, just to be safe.
restore: Restoring Bitcoin Core will overwrite its current data. You will lose any transactions recorded in watch-only wallets, and any funds you have received to the hot wallet, since the last backup.
interfaces:
rpc:
name: RPC Interface
description: Listens for JSON-RPC commands
tor-config:
port-mapping:
8332: "8332"
lan-config:
443:
ssl: true
internal: 8332
ui: false
protocols:
- tcp
- http
- json-rpc
peer:
name: Peer Interface
description: Listens for incoming connections from peers on the bitcoin network
tor-config:
port-mapping:
8333: "8333"
ui: false
protocols:
- tcp
- bitcoin
zmq:
name: ZeroMQ Interface
description: Listens for subscriptions to the ZeroMQ raw block and raw transaction event streams
tor-config:
port-mapping:
28332: "28332"
28333: "28333"
ui: false
protocols:
- tcp
- zmq
dependencies: {}
backup:
create:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- create
- /mnt/backup
- /root/.bitcoin
mounts:
BACKUP: /mnt/backup
main: /root/.bitcoin
restore:
type: docker
image: compat
system: true
entrypoint: compat
args:
- duplicity
- restore
- /mnt/backup
- /root/.bitcoin
mounts:
BACKUP: /mnt/backup
main: /root/.bitcoin
actions:
reindex:
name: "Reindex Blockchain"
description: "Rebuilds the block and chainstate databases starting from genesis. If blocks already exist on disk, these are used rather than being redownloaded. For pruned nodes, this means downloading the entire blockchain over again."
warning: Blocks not stored on disk will be redownloaded in order to rebuild the database. If your node is pruned, this action is equivalent to syncing the node from scratch, so this process could take a couple of weeks.
allowed-statuses:
- running
- stopped
implementation:
type: docker
image: main
system: false
entrypoint: reindex.sh
args: []
mounts:
main: /root/.bitcoin
io-format: json
delete-txindex:
name: "Delete Transaction Index"
description: "Deletes the Transaction Index (txindex) in case it gets corrupted."
warning: The Transaction Index will be rebuilt once Bitcoin Core is started again, unless you deactivate it in the config settings. Please don't do this unless instructed to by Start9 support staff.
allowed-statuses:
- stopped
implementation:
type: script
delete-peers:
name: "Delete Peer List"
description: "Deletes the Peer List (peers.dat) in case it gets corrupted."
allowed-statuses:
- stopped
implementation:
type: script
migrations:
from:
"*":
type: script
args: ["from"]
to:
"*":
type: script
args: ["to"]