You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should just make one method, that takes a lock once, and then does all the relevant operations. I don't have system impact benchmarks, as this 3 mutex-taking is not in v0.37.x
Proposal
Make one method that just takes the peerstate lock once and does all 3 internal functions
Activity
perf(consensus): Make one peer state mutex call in AddVote (#3156)
perf(consensus): Make one peer state mutex call in AddVote (cometbft#…
perf(consensus): Make one peer state mutex call in AddVote (cometbft#…
perf(consensus): Make one peer state mutex call in AddVote (#3156)
perf(consensus): Make one peer state mutex call in AddVote (backport #…
perf(consensus): Make one peer state mutex call in AddVote (#3156)
perf(consensus): Make one peer state mutex call in AddVote (#3156)