-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathorg.bitcoinknots.Daemon.json
More file actions
78 lines (78 loc) · 2.11 KB
/
org.bitcoinknots.Daemon.json
File metadata and controls
78 lines (78 loc) · 2.11 KB
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
{
"app-id": "org.bitcoinknots.Daemon",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": ["org.freedesktop.Sdk.Extension.llvm16"],
"command": "bitcoin-knots-daemon",
"finish-args": [
"--share=network",
"--socket=network",
"--filesystem=home:ro",
"--filesystem=xdg-data/bitcoin-knots:create",
"--talk-name=org.freedesktop.DBus",
"--env=BITCOIN_DATA_DIR=/home/user/.bitcoin",
"--allow=devel"
],
"modules": [
{
"name": "berkeley-db",
"buildsystem": "simple",
"build-commands": [
"cd build_unix",
"../dist/configure --prefix=/app --disable-shared --enable-cxx --disable-replication --with-pic",
"make -j$(nproc)",
"make install"
],
"sources": [
{
"type": "archive",
"url": "https://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz",
"sha256": "12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef"
}
]
},
{
"name": "bitcoin-knots",
"buildsystem": "autotools",
"build-options": {
"env": {
"CPPFLAGS": "-I/app/include -I/app/include/db4.8",
"LDFLAGS": "-L/app/lib -L/app/lib/db4.8",
"BDB_CFLAGS": "-I/app/include/db4.8",
"BDB_LIBS": "-L/app/lib/db4.8 -ldb_cxx-4.8"
}
},
"config-opts": [
"--disable-gui",
"--disable-wallet",
"--disable-bench",
"--disable-tests",
"--disable-man",
"--with-boost=/usr",
"--with-boost-libdir=/usr/lib64",
"--with-libevent=/usr"
],
"sources": [
{
"type": "git",
"url": "https://github.com/bitcoinknots/bitcoin.git",
"tag": "v29.1.knots20250903"
}
]
},
{
"name": "bitcoin-knots-wrapper",
"buildsystem": "simple",
"build-commands": [
"install -Dm755 bitcoin-knots-daemon.sh /app/bin/bitcoin-knots-daemon"
],
"sources": [
{
"type": "file",
"path": "bitcoin-knots-daemon.sh"
}
]
}
]
}