feat: add user_identity to ShareAccounting#1916
Conversation
|
After a quick look, it looks good to me. What I would add is a The client one could be definitely useful for the tProxy. |
|
tbh I don't really understand the motivation here
so there's already a 1:1 relationship between each instance of am I missing something related to #1902 that's not yet present here nor there? |
Yes, currently ShareAccounting has no data to identify what the user the share is for. The only identifying information is Channel Id, which when persisted, has no meaning without additional context. |
|
FWIW, I don't think AFAIU you'd need why not simply modify the context in which which comes back to my original point: having the same data living inside both |
@GitGab19 under which circumstances would Once a channel is instantiated (be it server or client side), it never really changes the For example, there's no So assuming edit: everything above also applies to |
I initially thought about using it to later set the right Sv1 But given we need to open the channel before getting the I'll have to think more about this, to understand which could be the best thing here. For now just ignore my previous comments about this. |
|
Closing since I'll cherry pick and add to #1902 per #1902 (comment) |
Channels are aware of user_identity, this Draft adds a field to ShareAccounting populated by the user_identity from the channel.
Since this is related to #1902, I am marking Draft for now since I would have to refactor #1902 to accommodate these changes.