coffee-tools / coffee-tools/barq

Check the short channel id between ldk and cln before passing down the value to ldk

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

A short channel id can be `000x00x00` or a sequence of bytes. See the definition of the short channel id on the spec https://github.com/lightning/bolts/blob/master/07-routing-gossip.md#definition-of-short_channel_id

_Originally posted by @vincenzopalazzo in https://github.com/tareknaser/barq/pull/29#discussion_r1720204519_

Contributor guide

Open the contributing guide

Research direction

Start at the boundary where the short channel id is passed between CLN and LDK, then compare the accepted value with the Lightning specification's short_channel_id definition linked in the issue. Done means the value is checked before being passed to LDK, including the 000x00x00 form and byte-sequence form.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.