You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an identifier needs to be handled, referred to, read, or logged, it should be hex-encoded or in its string representation.
Byte arrays provide a poor user experience in these cases, making tasks like debugging and logging unnecessarily difficult.
While byte arrays are acceptable for machine-handled data (e.g., encrypted bytes, secrets, or protobufs), user-facing data, such as payment-id, channel-id, user-channel-id, and payment-hash, should be more readable.
This applies to both API input and output to reduce friction in interactions with the API.
While someone could easily do this themselves and we can keep on having byte arrays in apis, but it would be nice if clients could log/see responses directly.
The text was updated successfully, but these errors were encountered:
If an identifier needs to be handled, referred to, read, or logged, it should be hex-encoded or in its string representation.
Byte arrays provide a poor user experience in these cases, making tasks like debugging and logging unnecessarily difficult.
While byte arrays are acceptable for machine-handled data (e.g., encrypted bytes, secrets, or protobufs), user-facing data, such as payment-id, channel-id, user-channel-id, and payment-hash, should be more readable.
This applies to both API input and output to reduce friction in interactions with the API.
While someone could easily do this themselves and we can keep on having byte arrays in apis, but it would be nice if clients could log/see responses directly.
The text was updated successfully, but these errors were encountered: