Create and use methods for counting channels
authorDuncan Dean <git@dunxen.dev>
Wed, 7 Jun 2023 17:52:21 +0000 (19:52 +0200)
committerDuncan Dean <git@dunxen.dev>
Thu, 15 Jun 2023 10:55:40 +0000 (12:55 +0200)
commit4b1e2865cf3c77d53f63aa9a8e4518c25c385fce
treeade4fe1127c82586c671822d0826ad2d981f2341
parent4ad67cfe183bf5808f102e98c474fd45fb0a206c
Create and use methods for counting channels

This commit also adds two new maps to `PeerState` for keeping track
of `OutboundV1Channel`s and `InboundV1Channel`s so that further
commits are a bit easier to review.
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs