Skip to content

Commit

Permalink
Merge branch 'main' into feature-automatic-coin-selection-strategies
Browse files Browse the repository at this point in the history
  • Loading branch information
RodriFS committed Jun 21, 2023
2 parents 36a1f05 + 72b8c5e commit 7853253
Show file tree
Hide file tree
Showing 15 changed files with 2,548 additions and 24 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,18 @@ jobs:
context: .
file: src/Dockerfile
push: true
sbom: true
platforms: linux/amd64,linux/arm64
provenance: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

- name: Scan SBOM
uses: anchore/scan-action@v3
with:
image: ${{ steps.meta.outputs.tags }}
add-cpes-if-none: true
output-format: table
severity-cutoff: critical
# fail-build: true
fail-build: false
2 changes: 2 additions & 0 deletions src/Data/Models/ChannelOperationRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ public decimal Amount
/// </summary>
public string? ClosingReason { get; set; }

public decimal? FeeRate { get; set; }

#region Relationships

public ICollection<ChannelOperationRequestPSBT> ChannelOperationRequestPsbts { get; set; }
Expand Down
4 changes: 3 additions & 1 deletion src/Helpers/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public class Constants
public static readonly bool ENABLE_REMOTE_SIGNER;
public static readonly bool PUSH_NOTIFICATIONS_ONESIGNAL_ENABLED;
public static readonly bool ENABLE_HW_SUPPORT;
public static readonly bool FEE_SELECTION_ENABLED = false; // Incomplete feature, remove this line when it's ready
public static readonly bool NBXPLORER_ENABLE_CUSTOM_BACKEND = false;

// Connections
Expand All @@ -40,6 +39,7 @@ public class Constants
public static readonly string? FUNDSMANAGER_ENDPOINT;
public static readonly string? COINGECKO_ENDPOINT;
public static readonly string? MEMPOOL_ENDPOINT;
public static readonly string? AMBOSS_ENDPOINT;
public static readonly string? REMOTE_SIGNER_ENDPOINT;

// Credentials
Expand Down Expand Up @@ -124,6 +124,8 @@ static Constants()

MEMPOOL_ENDPOINT = Environment.GetEnvironmentVariable("MEMPOOL_ENDPOINT");

AMBOSS_ENDPOINT = Environment.GetEnvironmentVariable("AMBOSS_ENDPOINT");

// Credentials
NBXPLORER_BTCRPCUSER = Environment.GetEnvironmentVariable("NBXPLORER_BTCRPCUSER");

Expand Down
Loading

0 comments on commit 7853253

Please sign in to comment.