Consensus messages buffer size


I am looking for the code where we can see how validators store consensus messages: how many messages can/need validators to store? Could you please help me with a pointer?

Thank you,

I note that the paper does not discuss this aspect, hence my curiosity of how is it done in the implementation itself.

See the HeightVoteSet which nodes use to store all votes they’ve seen at all rounds for the current height.