Most of the documentation I found online (Ethereum GitHub, specs., forums) contains either conflicting or vague information regarding voting.
Every committee member votes (broadcasts attestation to its committee's channel) regarding target, head and source. These votes get aggregated and sent to the main channel with all other attestation.
My question is, how many votes are necessary for a certain block the be confirmed for a given slot? How many votes/attestation does block proposer need to receive to be able to put that block in a slot. Or is the proposer able to put block in a slot regardless of votes for that slot and the only time when it is actually checked if certain block should belong to a slot is by the 2/3 supermajority vote before the whole epoch gets justified? - What if it does not get justified in that case - all blocks and transactions go back to mempool?