]> git.bitcoin.ninja Git - rust-lightning/commit
Create short_channel_id utils
authorbmancini55 <bmancini@gmail.com>
Wed, 3 Mar 2021 21:46:55 +0000 (16:46 -0500)
committerbmancini55 <bmancini@gmail.com>
Fri, 5 Mar 2021 20:09:51 +0000 (15:09 -0500)
commit0b14e97c499df77c2610026d0cc73ab9086e4fe2
treedd3119d07ea5b18454c26e842f57f5ec37e87cfd
parent8ec5429f0f9405634726c4388e34ef4acfbbf7eb
Create short_channel_id utils

Util converts parts into u64 SCID
Util extracts block height from u64 SCID

Both will be used when processing gossip_query messages.
lightning/src/util/mod.rs
lightning/src/util/scid_utils.rs [new file with mode: 0644]