code: func postprocessProtoBlock(block *common.Block, validatedBlock *internal.Block) {
  	txsFilter := util.TxValidationFlags(block.Metadata.Metadata[common.BlockMetadataIndex_TRANSACTIONS_FILTER])
  	for _, tx := range validatedBlock.Txs {
  		txsFilter.SetFlag(tx.IndexInBlock, tx.ValidationCode)
  	}
  	block.Metadata.Metadata[common.BlockMetadataIndex_TRANSACTIONS_FILTER] = txsFilter
  }
docs: // postprocessProtoBlock updates the proto block's validation flags (in metadata) by the results of validation process