Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: append channel monitor details to lsp log #243

Merged
merged 2 commits into from
May 24, 2024
Merged

feat: append channel monitor details to lsp log #243

merged 2 commits into from
May 24, 2024

Conversation

Jasonvdb
Copy link
Collaborator

Appends all closed channel monitor details to LSP log event body

{
    "channelClose": {
        "commitment_tx_fee": 2,
        "pending_htlcs_count": 1,
        "commitment_tx": "Data(channelClose.getCommitmentTx()).hexEncodedString()"
    },
    "channelFiles": [
        {
            "channel_id": "731a159d8829c8a233e421340dbe89985f19668098b82a0c58560aa8321de38c",
            "counterparty_node_id": "0341e41583ad691951634e24dd20252d13feace9286a85d47f220dde74e7e09a15",
            "funding_txo_index": 0,
            "funding_txo_txid": "8ce31d32a80a56580c2ab8988066195f9889be0d3421e433a2c829889d151a73",
            "claimable_balances": [
                {
                    "amount_satoshis": 50000,
                    "type": "ClaimableAwaitingConfirmations",
                    "confirmation_height": 6759
                }
            ]
        }
    ]
}

@Jasonvdb Jasonvdb requested a review from ovitrif May 24, 2024 10:40
@Jasonvdb Jasonvdb merged commit 6c7b64e into master May 24, 2024
6 checks passed
@Jasonvdb Jasonvdb deleted the lsp-event branch May 24, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants