This turned out to be a source of confusion and instability (as well as duplicating code in two layers).
Also in this change, I added some comments; changed the layout of the (incomplete) SessionInfoV2 structure to match SessionInfoV1, changed API GetTxReady() to be const in its reference to this, and made some other cosmetic changes. (I would break up the commits, but time presses.)
This turned out to be a source of confusion and instability (as well as duplicating code in two layers).
Also in this change, I added some comments; changed the layout of the (incomplete) SessionInfoV2 structure to match SessionInfoV1, changed API
GetTxReady()
to beconst
in its reference tothis
, and made some other cosmetic changes. (I would break up the commits, but time presses.)