Like if I were to add some custom logic and checks to ensure only certain kind of blocks are produced by the validators or only those blocks that contain a certain size of data are produced then where in code should I look for or what files should I change?
I tried looking up at the BABE-pallet but it only contained logic regarding validator selection and stuff.
I want to know where this block production/building takes place in code and how I can modify that logic to allow only certain blocks to be added by validators.