Skip to content

Commit

Permalink
Update NBXplorer to version 2.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Kixunil committed Feb 7, 2024
1 parent 606cf9f commit 7cfb5a7
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_rules/nbxplorer.pin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cfb9aa95060f1aea7f0ed3ad068a502cc50edd3f
07b11932378cd28244b859f9a28de5dbf4a9caa7
23 changes: 22 additions & 1 deletion pkg_specs/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ extra_service_config = """
Restart=always
"""

[databases.pgsql]
template = """
postgres=User ID=_DBC_DBUSER_;Password=_DBC_DBPASS_;Host=_DBC_DBSERVER_;Port=_DBC_DBPORT_;Database=_DBC_DBNAME_;
"""

[map_variants.mainnet_enabled]
mainnet = "1"
regtest = "0"
Expand All @@ -24,15 +29,31 @@ regtest = "24447"
[extra_groups."nbxplorer-{variant}-access-rpc"]
create = true

[migrations."<< 2.4.5-1"]
config = """
# This version started including secret information
chmod o-r /etc/nbxplorer-{variant}/nbxplorer.conf
"""

[config."nbxplorer.conf"]
format = "plain"
public = true
cat_dir = "conf.d"
cat_files = ["database"]

[config."nbxplorer.conf".hvars."network"]
type = "string"
template = "{variant}"

[config."nbxplorer.conf".hvars."automigrate"]
type = "uint"
constant = "1"

[config."nbxplorer.conf".ivars."deleteaftermigration"]
type = "bool"
default = "true"
priority = "low"
summary = "Delete old NBxplorer's database after migration"

[config."nbxplorer.conf".hvars."dbtrie"]
type = "string"
template = "1"
Expand Down
5 changes: 5 additions & 0 deletions pkg_specs/nbxplorer.changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
nbxplorer (2.4.5-1) buster; urgency=medium

* Updated upstream version

-- Martin Habovstiak <[email protected]> Sat, 06 Jan 2024 11:33:14 +0000
nbxplorer (2.3.66-1) buster; urgency=medium

* Updated upstream version
Expand Down
2 changes: 1 addition & 1 deletion pkg_specs/nbxplorer.sps
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "nbxplorer"
architecture = "any"
summary = "A minimalist UTXO tracker for HD Wallets."
depends = ["dotnet-runtime-6.0", "aspnetcore-runtime-6.0"]
depends = ["dotnet-runtime-8.0", "aspnetcore-runtime-8.0"]
recommends = ["bitcoin-mainnet | bitcoin-regtest, nbxplorer-mainnet | bitcoin-regtest, nbxplorer-regtest | bitcoin-mainnet, nbxplorer-both | nbxplorer-mainnet | nbxplorer-regtest"]
add_files = ["/usr/lib/NBXplorer"]
add_links = ["/usr/lib/NBXplorer/NBXplorer /usr/bin/nbxplorer"]
Expand Down
2 changes: 1 addition & 1 deletion pkg_specs/nbxplorer.sss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "nbxplorer"
section = "net"
variants = ["mainnet", "regtest"]
build_depends = ["dotnet-sdk-6.0:native"]
build_depends = ["dotnet-sdk-8.0:native"]
packages = ["nbxplorer", "nbxplorer-@variant", "nbxplorer-both"]
skip_debug_symbols = true

0 comments on commit 7cfb5a7

Please sign in to comment.