Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
249b015299 | ||
|
4950ac9df4 | ||
|
19670dd79d | ||
|
8cd69deb1b |
4
backend/package-lock.json
generated
4
backend/package-lock.json
generated
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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,
|
||||||
|
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user