Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"check": "tsc --noEmit"
},
"dependencies": {
"@start9labs/start-sdk": "^0.4.0-beta.45"
"@start9labs/start-sdk": "^0.4.0-beta.46"
},
"devDependencies": {
"@types/node": "^22.1.0",
Expand Down
10 changes: 9 additions & 1 deletion startos/backups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,13 @@ import { sdk } from './sdk'

export const { createBackup, restoreInit } = sdk.setupBackups(
async ({ effects }) =>
sdk.Backups.ofVolumes('main', 'cache', 'db', 'config'),
sdk.Backups
.ofVolumes('main', 'cache', 'config')
.addVolume('db', {
options: {
delete: false,
exclude: ['ibtmp1', 'ib_logfile*']
}
})
,
)
22 changes: 10 additions & 12 deletions startos/install/versions/v3.2.1_4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,21 @@ import { configJson } from '../../file-models/mempool-config.json'
import { configJsonDefaults } from '../../utils'

export const v_3_2_1_4 = VersionInfo.of({
version: '3.2.1:4-beta.0',
version: '3.2.1:4-beta.1',
releaseNotes: 'Updated for StartOS 0.4.0',
migrations: {
up: async ({ effects }) => {
const custom = {} as any
// get old config.yaml
const configYaml:
| {
'enable-electrs'?: boolean
indexer?: {
type: 'electrs' | 'fulcrum' | 'none'
}
lightning: {
type: 'cln' | 'lnd' | 'none'
}
}
| undefined = await readFile(
const configYaml: {
'enable-electrs'?: boolean
indexer?: {
type: 'electrs' | 'fulcrum' | 'none'
}
lightning: {
type: 'cln' | 'lnd' | 'none'
}
} | undefined = await readFile(
'/media/startos/volumes/main/start9/config.yaml',
'utf-8',
).then(YAML.parse, () => undefined)
Expand Down
20 changes: 16 additions & 4 deletions startos/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,34 @@ export const manifest = setupManifest({
electrs: {
description: 'Provides an index for address lookups',
optional: true,
s9pk: 'https://github.com/Start9Labs/electrs-startos/releases/download/v0.11.0.1-beta.0/electrs.s9pk',
metadata: {
title: 'Electrs',
icon: 'https://github.com/Start9Labs/electrs-startos/blob/master/icon.png?raw=true',
},
},
fulcrum: {
description: 'Provides an index for address lookups',
optional: true,
s9pk: 'https://github.com/remcoros/fulcrum-startos/releases/download/v2.1.0-3-beta.1/fulcrum.s9pk',
metadata: {
title: 'Fulcrum',
icon: 'https://github.com/remcoros/fulcrum-startos/blob/master/icon.png?raw=true',
},
},
'c-lightning': {
description: 'Used to provide Lightning Network data',
optional: true,
s9pk: 'https://github.com/Start9Labs/cln-startos/releases/download/v25.12.0.1-beta.0/c-lightning.s9pk',
metadata: {
title: 'Core Lightning',
icon: 'https://github.com/Start9Labs/cln-startos/blob/master/icon.png?raw=true',
},
},
lnd: {
description: 'Used to provide Lightning Network data',
optional: true,
s9pk: 'https://github.com/Start9Labs/lnd-startos/releases/download/v0.20.0-beta.1-beta.1/lnd.s9pk',
metadata: {
title: 'LND',
icon: 'https://github.com/Start9Labs/lnd-startos/blob/master/icon.png?raw=true',
},
},
},
})
Loading