hal
hal copied to clipboard
Lightning: show "formatted short channel IDs"
formatted short channel ID: ${blockheight)x$(txindex}x${outputindex}
formatted -> u64: blockheight << 40 | txindex << 16 | outputidx
u64 -> formatted: reverse engineer ;)