To look up information of a channel on 1ML.com, I wonder how the channel_id
is built.
Reading this question and the corresponding BOLT02, I see that
channel_id = funding_txid XOR funding_output_index
As the funding_txid
is a 32 byte string (e.g. 399986f8d47b36d4f21c07de0ce7d422de244ed58a72e6b44d26985fe1e7465c
), the channel_id
has also 32 bytes.
However, when looking at a specific channel at 1ML.com, the channel_id
is much shorter (e.g., 735416048958177281
).
Hence my question is:
- Is the above definition of the
channel_id
correct? If so, what is the difference to the one of 1ML.com? - Otherwise: How is the
channel_id
computed correctly?