[fix] use size in network fee voter keys #check-lint-warning
Includes the TransactionSize
field in the kv store key/record for network fee voters.
- add
TransactionSize
field toObservedNetworkFeeVoter
- add
ID()
func toObservedNetworkFeeVoter
which includessize
(will replaceString()
) - add
size
param toGetObservedNetworkFeeVoter
- if version > 128, store the
size
with the record and useID()
instead ofString()
for keying inGetObservedNetworkFeeVoter
andSetObservedNetworkFeeVoter
#check-lint-warning is added since I'm updating a function signature used in archived code. the new param is only used after checking version within the function
Note: if any network fee voters are in the process of reaching consensus when the version upgrade is adopted, those fees will not reach consensus. I don't believe this to be an issue.
Edited by akrokr