updateOutgoingPart

abstract suspend fun updateOutgoingPart(partId: UUID, failure: Either<ChannelException, FailureMessage>, completedAt: Long = currentTimestampMillis())

Mark an outgoing payment part as failed.

abstract suspend fun updateOutgoingPart(partId: UUID, preimage: ByteVector32, completedAt: Long = currentTimestampMillis())

Mark an outgoing payment part as succeeded. This should not update the parent payment, since some parts may still be pending.