withOnWirePrecision

fun ChannelSettings.withOnWirePrecision(usesPublicKey: Boolean): ChannelSettings(source)

These settings with the public-key ceiling written into them, for whoever stores or sends them.

Absent module settings become an explicit zero on a public key: firmware before 2.8 reads their absence on a primary channel as full precision.


fun List<ChannelSettings>.withOnWirePrecision(): List<ChannelSettings>(source)

Each channel with withOnWirePrecision applied, the first being the primary the others inherit a key from.