When a mobile VLS call produces mutations, it returns 3 things to the app:
topic (to send back to broker)
vls_bytes (the response for CLN)
lss_bytes (the LssMsg for broker to store in LSS)
But the app also needs the raw Mutations Vec<(String, (u6, VBec<u8>))> from the lss_bytes, to persist locally.
Is it possible to extract the Mutations deterministically from the lss_bytes (which contains the LssMsg enum wrapper, and the signer_hmac). Theoretically we should be able to slice some number of bytes of the beginning (and end?) to get the Mutations...
When a mobile VLS call produces mutations, it returns 3 things to the app:
But the app also needs the raw Mutations
Vec<(String, (u6, VBec<u8>))>
from the lss_bytes, to persist locally.Is it possible to extract the Mutations deterministically from the lss_bytes (which contains the LssMsg enum wrapper, and the signer_hmac). Theoretically we should be able to slice some number of bytes of the beginning (and end?) to get the Mutations...