Compare commits

...

4 Commits
master ... v2.5

Author SHA1 Message Date
wiz
249b015299
Release v2.5.1
Contains CLN related hotfixes for StartOS
2024-03-01 11:24:47 +09:00
wiz
4950ac9df4
Merge pull request #4679 from mempool/knorrium/v2.5.1
Patch v2.5.0 to v2.5.1 with hot fixes to CLN
2024-03-01 11:21:15 +09:00
wiz
19670dd79d
Another hotfix for CLN crash 2024-02-11 13:17:21 -08:00
wiz
8cd69deb1b
Hotfix for CLN crash 2024-02-11 13:17:11 -08:00
5 changed files with 10 additions and 10 deletions

View File

@ -1,12 +1,12 @@
{ {
"name": "mempool-backend", "name": "mempool-backend",
"version": "2.5.0", "version": "2.5.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mempool-backend", "name": "mempool-backend",
"version": "2.5.0", "version": "2.5.1",
"license": "GNU Affero General Public License v3.0", "license": "GNU Affero General Public License v3.0",
"dependencies": { "dependencies": {
"@babel/core": "^7.20.12", "@babel/core": "^7.20.12",

View File

@ -1,6 +1,6 @@
{ {
"name": "mempool-backend", "name": "mempool-backend",
"version": "2.5.0", "version": "2.5.1",
"description": "Bitcoin mempool visualizer and blockchain explorer backend", "description": "Bitcoin mempool visualizer and blockchain explorer backend",
"license": "GNU Affero General Public License v3.0", "license": "GNU Affero General Public License v3.0",
"homepage": "https://mempool.space", "homepage": "https://mempool.space",

View File

@ -108,7 +108,7 @@ async function buildFullChannel(clChannelA: any, clChannelB: any): Promise<ILigh
return { return {
channel_id: Common.channelShortIdToIntegerId(clChannelA.short_channel_id), channel_id: Common.channelShortIdToIntegerId(clChannelA.short_channel_id),
capacity: clChannelA.satoshis, capacity: (clChannelA.amount_msat / 1000).toString(),
last_update: lastUpdate, last_update: lastUpdate,
node1_policy: convertPolicy(clChannelA), node1_policy: convertPolicy(clChannelA),
node2_policy: convertPolicy(clChannelB), node2_policy: convertPolicy(clChannelB),
@ -132,7 +132,7 @@ async function buildIncompleteChannel(clChannel: any): Promise<ILightningApi.Cha
return { return {
channel_id: Common.channelShortIdToIntegerId(clChannel.short_channel_id), channel_id: Common.channelShortIdToIntegerId(clChannel.short_channel_id),
capacity: clChannel.satoshis, capacity: (clChannel.amount_msat / 1000).toString(),
last_update: clChannel.last_update ?? 0, last_update: clChannel.last_update ?? 0,
node1_policy: convertPolicy(clChannel), node1_policy: convertPolicy(clChannel),
node2_policy: null, node2_policy: null,
@ -148,8 +148,8 @@ async function buildIncompleteChannel(clChannel: any): Promise<ILightningApi.Cha
function convertPolicy(clChannel: any): ILightningApi.RoutingPolicy { function convertPolicy(clChannel: any): ILightningApi.RoutingPolicy {
return { return {
time_lock_delta: clChannel.delay, time_lock_delta: clChannel.delay,
min_htlc: clChannel.htlc_minimum_msat.slice(0, -4), min_htlc: clChannel.htlc_minimum_msat.toString(),
max_htlc_msat: clChannel.htlc_maximum_msat.slice(0, -4), max_htlc_msat: clChannel.htlc_maximum_msat.toString(),
fee_base_msat: clChannel.base_fee_millisatoshi, fee_base_msat: clChannel.base_fee_millisatoshi,
fee_rate_milli_msat: clChannel.fee_per_millionth, fee_rate_milli_msat: clChannel.fee_per_millionth,
disabled: !clChannel.active, disabled: !clChannel.active,

View File

@ -1,12 +1,12 @@
{ {
"name": "mempool-frontend", "name": "mempool-frontend",
"version": "2.5.0", "version": "2.5.1",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "mempool-frontend", "name": "mempool-frontend",
"version": "2.5.0", "version": "2.5.1",
"license": "GNU Affero General Public License v3.0", "license": "GNU Affero General Public License v3.0",
"dependencies": { "dependencies": {
"@angular-devkit/build-angular": "^14.2.10", "@angular-devkit/build-angular": "^14.2.10",

View File

@ -1,6 +1,6 @@
{ {
"name": "mempool-frontend", "name": "mempool-frontend",
"version": "2.5.0", "version": "2.5.1",
"description": "Bitcoin mempool visualizer and blockchain explorer backend", "description": "Bitcoin mempool visualizer and blockchain explorer backend",
"license": "GNU Affero General Public License v3.0", "license": "GNU Affero General Public License v3.0",
"homepage": "https://mempool.space", "homepage": "https://mempool.space",