Rusty Russell
887fb38e06
pyln-client/gossmap: use ShortChannelId class from pyln.proto, if available.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 09:34:14 +09:30
Rusty Russell
4753ca4d35
pyln-client/gossmap: add a little documentation.
...
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 09:34:14 +09:30
Rusty Russell
e495462c50
pyln-client/gossmap: save deconstructed fields instead of raw msg bytes.
...
We have to parse them anyway, so why not make them accessible.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 09:34:14 +09:30
Rusty Russell
1a5a26d659
pyln.client: new functionality to access Gossmap.
...
It doesn't do much work, but it does parse the gossmap file and extract
nodes and channels.
[ Fixup by Michael Schmoock <michael@schmoock.net> ]
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-09-08 09:34:14 +09:30