Open altafan opened 1 month ago
I think GetInfo is fine to show the "current" lifetime to be used for NEXT rounds.
The thing is that the current may be different from the previous rounds, so that ListVtxos should always return the right one, as each VTXO may be different in terms of lifetimes and client need to know for refreshes.
At the moment, the round lifetime is a configuration param of the asp, this a static parameter that can be updated only by restarting the asp.
We need admin RPCs to make it configurable so that it becomes a dynamic parameter.
This way, the round lifetime becomes a field of the Vtxo, therefore there's no need anymore to have this info stored by the SDK client.
The round lifetime must be removed from the GetInfoResponse message